Added memory map docs

This commit is contained in:
2025-04-16 10:02:32 +02:00
parent c5193dd188
commit 7b5efc1837
2 changed files with 17 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
Memory Map
==========
__This document specifies the **virtual** memory map. The **physical** memory
map is not OS defined and should be provided by the bootloader.__
| 00000000 | Null Page |
| 00001000 | TODO: userspace |
| C0000000 | Kernel Base |
| C0100000 | Kernel Binary Base |
| C6000000 | VMM Bitmap |
| C8000000 | Kernel Framebuffer |
| CFFE0000 | PMM Bitmap |
| D0000000 | Kernel Heap |
| F0000000 | Kernel Shared |
| FFFFF000 | Recursive pagedir |
+1 -1
View File
@@ -8,8 +8,8 @@
* Virtual memory addresses * Virtual memory addresses
*/ */
#define USER_HEAP 0x10000000 #define USER_HEAP 0x10000000
#define USER_STACK 0xBF000000
#define USER_SHARED 0xA0000000 #define USER_SHARED 0xA0000000
#define USER_STACK 0xBF000000
#define KERNEL_BASE 0xC0000000 #define KERNEL_BASE 0xC0000000
#define KERNEL_SIZE 0x10000000 #define KERNEL_SIZE 0x10000000
#define KERNEL_HEAP_BASE 0xD0000000 #define KERNEL_HEAP_BASE 0xD0000000