Hello,
I'm working on a Linux (2.4.x) driver for an DMA-Controller. My platform is an FPGA with an embedded PowerPC 405.
I want to have the DMA-Controller access a memory block in user space. I already found out that this memory block is organised in pages and there are several translations done to get from a virtual (user space) address to a physical address (by kernel, MMU, ...) ...
How can I get all the physical addresses of these pages and how can I lock(unlock) these pages to prevent swapping while hardware access.
Many thanks! Felix