Thread (18 messages) 18 messages, 6 authors, 2000-08-29

Re: allocating uncachable memory

flat view

From: Roman Zippel <hidden>
Date: 2000-08-28 21:33:45

Hi,
Well......there are many devices that perform DMA and must know the
physical address that is often stored in some kind of device descriptor.
I have written drivers that convert back and forth to get this
information.  You would have to keep the address mappings in the
driver somehow.
Hmm, I only know one driver, where such stuff is needed, but due to lack
of such hardware I never had to deal with this myself.
Anyway, actually in the new page structure there are two fields that are
AFAIK only used by the page cache - mapping and index. With that you can
do a very fast physical to virtual (uncached) translation. (Ok, I take
back that it's impossible :) )

bye, Roman


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help