Re: Screen regen buffer at 0x00b8000

From: Richard B. Johnson
Date: Fri May 20 2005 - 10:27:42 EST


On Fri, 20 May 2005, Marco Rogantini wrote:

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


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/