Skip to content

Commit 34cbf7b

Browse files
committed
Update memory layout
1 parent c197040 commit 34cbf7b

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

memory_layout.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22

33
| From | To | Size | Usage |
44
|--------- |-------- |-------- |-------------------------------------------- |
5-
| 0x00000 | fill | 31KB | RESERVED |
6-
| 0x7C00 | 0x7DFF | 512B | BOOTLOADER STAGE 1 |
7-
| 0x7E00 | 0x7FFF | 512B | SHARED STATIC CODE for real_mode library |
8-
| 0x8000 | 0xBFFF | - | BOOT LOADER STAGE 2 + own stack |
9-
| 0x10000 | 0x2FFFF | - | KERNEL |
10-
| 0x30000 | 0x4FFFF | - | Application 0 |
11-
| 0x50000 | 0x6FFFF | - | Application 1 |
12-
...
13-
| - | 0xFFFFF | - | 20-bit memory limit |
5+
| 0x00000 | 0x003FF | - | IVT (standard) |
6+
| 0x00400 | 0x07BFF | - | BIOS data area + reserv |
7+
| 0x07C00 | 0x07DFF | 512B | Bootloader Stage 1 |
8+
| 0x07E00 | 0x07FFF | 512B | STATIC CODE for real_mode library |
9+
| 0x08000 | 0x0BFFF | - | Bootloader Stage 2 + own stack |
10+
| 0x0F000 | 0x2EFFF | 128KB | Kernel + (core, irq, syscall) stack |
11+
| 0x30000 | 0x4FFFF | 128KB | App pid 1 |
12+
| 0x50000 | 0x6FFFF | 128KB | App pid 2 |
13+
| 0x70000 | - | - | - |
14+
| 0x80000 | 0x9FFFF | 128KB | Extended BIOS Data area |
15+
| 0xA0000 | 0xBFFFF | 128KB | Video memory |
16+
| 0xC0000 | 0xFFFFF | 256KB | BIOS stuff |

0 commit comments

Comments
 (0)