Re: Screen regen buffer at 0x00b8000

From: Marco Rogantini
Date: Fri May 20 2005 - 09:45:35 EST


On Fri, 2005-05-20 09:48:35 -0400, Richard B. Johnson <linux-os@xxxxxxxxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/