501 B
501 B
TASK - MEMORY
By my own convention
Task Page Directory
| address | content |
|---|---|
| 0 | first_page_table |
| 1-767 | ALLOCABLE HEAP |
| 768-1023 | KERNEL CODE, SCREEN, MULTIBOOT HEADER, FRAME_MAP, etc |
first_page_table
| address | content |
|---|---|
| 0-253 | NULL |
| 254 | The addr of the first_page_table |
| 255 | The phys address of the task pd. so the task can access at his pd on the address GET_PAGE_ADDR(0, 255) |
| 256-1023 | Like in the kernel task, reserved for heap page_table |