From: James S. <jsi...@tr...> - 2001-05-15 03:13:23
|
> I tried something like this but I was unable to keep the page > fault: where I can flush the page tables? memory.c will create > a page entry with the physical address I returned by the no_page > handler, so I should flush the page in mm/memory.c? Defintely not in memory.c. It should be done in the driver. I can't remember of teh top of my head how it was done. I have to go look at some old code to handle this. > The other problem is that without a PACKED_PIXEL display all the > userspace currently available will not work. Their is not much you can do to get around this besides writing a native framebuffer :-). A emulation mode is way to slow. In theory you could this for atari and ilbm modes but it would go so sloooow. > Also as you noted you need to flush the page table, and it seems > it can't be done in a module ;( I seriously doubt it would be a problem. It might not be exported to modules but that is easily fixed. You also only want to flush the page tables only when you need to. Like when you leave one bank and go to another. |