CPU Modes and Memory Models Flashcards

1
Q

Real Mode

A

Happens at power up or reset. 1 MB of addressable memory, no memory protection, no privilege levels.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Protected Mode

A

Main mode. 4 GB of addressable memory on 32 bit. Memory protection, privilege levels, and multitasking. Supports virtual 8086 mode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

System Management Mode

A

Used for power management tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Flat Memory Model

A

Linear address space. IA-32 Linux uses this. Segment registers point to segment descriptors GDT/LDT/IDT.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Segmented Memory Model

A

Specific memory location addressed with segment selector and offset within segment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Real-Address Mode Memory Model

A

Special case of segmented memory model with equal segment sizes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Virtual Memory Model

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly