Subject: Re: framebuffer access
To: None <port-sparc64@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc64
Date: 11/12/2005 15:44:34
> For some unknown reason following code fails on sparc64 (but works on
> macppc):
> fb_memory = (u_char*) mmap(0, fb_size, PROT_READ | PROT_WRITE,
> MAP_SHARED, fb_fd, 0);
Are you sure 0 is the correct offset? Different drivers can, and in my
experience do, have different offset-to-thing mappings.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B