Messages in this thread | | | Date | Fri, 20 May 2005 11:24:06 -0400 (EDT) | From | "Richard B. Johnson" <> | Subject | Re: Screen regen buffer at 0x00b8000 |
| |
On Fri, 20 May 2005, Marco Rogantini wrote:
> On Fri, 2005-05-20 09:48:35 -0400, Richard B. Johnson <linux-os@analogic.com> wrote: > >> if((fd = open("/dev/mem", O_RDWR)) == FAIL) >> ERRORS("open"); >> if((sp = mmap((void *)SCREEN, len, PROT, TYPE, fd, SCREEN))==MAP_FAILED) >> ERRORS("mmap"); > > Try to open("/dev/mem", O_RDWR | O_SYNC). Without this the mapping > will be chached. > > -marco >
Doesn't help.
Cheers, Dick Johnson Penguin : Linux version 2.6.11.9 on an i686 machine (5537.79 BogoMips). Notice : All mail here is now cached for review by Dictator Bush. 98.36% of all statistics are fiction. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |