virtual memory question

Ian Reid (ian@robots.ox.ac.uk)
Thu, 18 Jul 1996 14:28:58 GMT


Given the user-space virtual address of a page, is there a way to
convert this into a physical address (ensuring that the page is
swapped in, etc)?

I have a PCI bus master which can perform dma transfers and I want to
set up the dma registers on the device to write directly to my user
space [it is a a video capture card and I want to write directly to an
X shared memory image]

Cheers, Ian