CPU Modes and Memory Models Flashcards
Real Mode
Happens at power up or reset. 1 MB of addressable memory, no memory protection, no privilege levels.
Protected Mode
Main mode. 4 GB of addressable memory on 32 bit. Memory protection, privilege levels, and multitasking. Supports virtual 8086 mode.
System Management Mode
Used for power management tasks.
Flat Memory Model
Linear address space. IA-32 Linux uses this. Segment registers point to segment descriptors GDT/LDT/IDT.
Segmented Memory Model
Specific memory location addressed with segment selector and offset within segment.
Real-Address Mode Memory Model
Special case of segmented memory model with equal segment sizes.
Virtual Memory Model
1 GB kernel, 3 GB user space (approx). From kernel space downward the segments are stack, shared libs & mappings, heap, BSS (unitialized data), data (initialized data), and text.