I don't think dosemu saves my day. It needs just _one_ 1Mb real mode image.
I know how to do that, too. No problem. As I tried to explain in
my original posting I need _several_ 1Mb images: one for each graphics
card. I need to swap them _fast_ without moving around large
chunks of memory.
When another card is selected I could in prinicple copy out the
1 Meg image of the one previously selected and then copy in the
1 Meg of the newly selected one. But this is _slow_ compared to
just calling munmap()/mmap() to swap cards. If I only did that
for initialization it's OK. But if I want to do it while the Xserver
is running and in Operating state (ie for updating pallete or
whatever else needs to be done) it is painfully slow.
With mmap() /proc/XXX/mem I can keep all images set up in virtual
address space and only map in the one I need.
Regards,
Egbert.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/