Re: how to map display card registers into userspace
Geert Uytterhoeven <[email protected]> Wed, 17 May 2006 09:45:53 +0200 (CEST)
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 17 May 2006, Jiao wrote:
> anybody know how to map hardware register of display cards into userspace
If the card has a frame buffer device driver, you can mmap() /dev/fbX, offset
fb_fix_screeninfo.smem_len, size fb_fix_screeninfo.mmio_len.
Else you have to mmap() /dev/mem.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642