Read and write RAM physical addresses from Linux user space
Posted: aprile 22nd, 2012 | Author: Francesco Apollonio | Filed under: ARM, C/C++, English, Linux, Programmazione | Tags: code tips, linux, mmap, program, qemu, syscall | No Comments »
Ok, this is another trick I learned working on my project.
I’ve a QEMU arm machine and a simulation outside them. QEMU shares his RAM (in the future I’ll write about this) with the simulator so I want to unlock the simulation (that is waiting for a 1 at the address 0x0FF8000) writing the specified value on that address using an application in user space inside the VM.







