wip: fix terminal stuff
This commit is contained in:
20
documentation/task/memory.md
Normal file
20
documentation/task/memory.md
Normal 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
|
||||
Reference in New Issue
Block a user