How to access physical (as opposed to virtual) memory in C language for a Linux app.
I am running Linux kernel on MPC5200 processor board and am developing a C application. The application needs to write to certain registers which are located at 0xf000xxxx physical memory address to utilize certain hardware functionality not available through operating system.
Does anyone know how can I access physical memory address directly, or alternatively, how can I allocate memory so that the MMU maps it to the desired physical memory?
I appreciate any advice or help you can provide.