What is protected mode as it relates to memory?
In protected mode, the CPU processor can access:
– Up to 4GB memory
– memory protection / privilege level / multi‐tasking
– Supports Virtual-‐8086 mode
*Used by most modern OS
What is a flat memory model?
Model where the address is linear across an address space enabling access to address space directly.
What is the virtual memory model?
The virtual memory model consist of 4GB on a 32bit Linux system with 1GB going to the kernel and 3GB for the user space.
How can you view a process in memory?
A user could use:
“pmap [PID#] -d”
“cat /proc/[PID]/maps”
(gdb) “info proc mappings”