Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Mapping Virtual memory to physical memory
In message <01082008521900.22230@huhhot>, you said:
;A quick question:
;
;Is there a function or api call to get the physical address from a virtua=
;l
;address? I am helping port netbsd to an 8260 powerpc and the internal
;communications controler cannot handle virtual addresses, it bypassess th=
;e
;address translation for DMA etc. So I would like to be able to take the
;virtual address of a destination buffer and convert it to a physical addr=
;ess
;for the DMA controler.
Check out vtophys() in sys/arch/powerpc/include/pmap.h
-Tad
Home |
Main Index |
Thread Index |
Old Index