wip: fix terminal stuff

This commit is contained in:
0x35c
2025-11-03 17:19:03 +01:00
parent 44f5d687b0
commit 38f56c46ef
6 changed files with 54 additions and 59 deletions

View File

@ -0,0 +1,20 @@
# 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