On Fri, 2005-05-20 09:48:35 -0400, Richard B. Johnson <[email protected]> wrote: > len = getpagesize(); > if((fd = open("/dev/mem", O_RDWR)) == FAIL) > ERRORS("open"); > if((sp = mmap((void *)SCREEN, len, PROT, TYPE, fd, SCREEN))==MAP_FAILED) > ERRORS("mmap"); Maybe you'd better not fiddle with physical memory, but use the device abstraction that's ment to offer that interface? That is, use a framebuffer driver and open /dev/fb* . MfG, JBG -- Jan-Benedict Glaw [email protected] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: Screen regen buffer at 0x00b8000
- From: "Richard B. Johnson" <[email protected]>
- Re: Screen regen buffer at 0x00b8000
- From: Marco Rogantini <[email protected]>
- Re: Screen regen buffer at 0x00b8000
- References:
- Screen regen buffer at 0x00b8000
- From: "Richard B. Johnson" <[email protected]>
- Screen regen buffer at 0x00b8000
- Prev by Date: [PATCH] namespace.c: cleanup in mark_mounts_for_expiry()
- Next by Date: Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- Previous by thread: Screen regen buffer at 0x00b8000
- Next by thread: Re: Screen regen buffer at 0x00b8000
- Index(es):