RE: Framebuffer with banked memory

From: Sottek, Matthew J <hidden>
Date: 2002-10-31 21:18:41

:-( Even with providing your own mmap function you still couldn't get it
to work.
Is that a question?
I did make it work. It worked just fine however when a client accesses a
bank via the mmap you have to fault in that bank and _unmap_ the other
bank from the client's mmap. This isn't something the kernel lets you
do from a module (for good reason).

The problem is that when one instruction accesses two banks at the same
time there is no possible way to have both banks present and the fault
handler would get stuck trying to satisfy the impossible. It doesn't
happen in normal aligned accesses (I had XFree running on it) but it
is a timebomb waiting to go off so I stopped pursuing it.

-Matt




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help