Memory Page (Virtual Memory)
\>mp
\>mp kn : Open this docement
\>mp code
\mp dec : Display address value in decimal
\mpd
______________________________________________________________________________________
When you run a program, the operating system (Windows) allocates 4GB of memory (address)
for each program (process).
(in 64-bit environment, 256TB, 2^48, only 48 of the 64 bits are used for addressing)
This memory is virtual memory that mapped to actual physical memory.
Every time memory is accessed, the conversion to the actual physical address is not a matter of
concern for the process because the operating system and CPU take care of it through quite
cumbersome processes.
(It is implemented in collaboration between the OS and the CPU, such as the page table that
divides the virtual address into 4KB units (pages) and maps them to actual physical addresses, ...)
Windows manages the entire virtual address space of 4GB assigned to each process by dividing
it into several parts, the MemoryPage function shows the current state and assigned attributes of
each region of the entire virtual address space.
_______________________________________________________________________________________
~
\>mp dec : Display address value in decimal
~
cf>
Shows the virtual memory allocated to VirtualQuery.exe
______________________________________________________________________________
System Internals (developer edition)
▪