I understand that each user process is assigned a virtual address space that can be reset. But is there a way to reset the physical address space? Suppose I have a 32-bit system with 4 GB of memory, can I write a program to print each physical memory.
I understand that this violates memory protection, etc., but if it is possible, how can I convert this to a kernel process or a lower-level process so that I can access all the memory.?
I would like to know how to write such code (if possible) on a Windows / Linux platform (or kernel) .. Or if I have to use Assembly or something like that, how to go to this privilege level.
source share