diff options
author | Benji Dial <benji@benjidial.net> | 2024-01-08 22:28:41 -0500 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-01-08 22:28:41 -0500 |
commit | c2f48fb5df0981df1df23de2b277274f9fe75080 (patch) | |
tree | 5202557438bbe3bdc7d10c7769731ab3594185f9 /documentation/memory.txt | |
download | hilbert-os-c2f48fb5df0981df1df23de2b277274f9fe75080.tar.gz |
first commit
Diffstat (limited to 'documentation/memory.txt')
-rw-r--r-- | documentation/memory.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/documentation/memory.txt b/documentation/memory.txt new file mode 100644 index 0000000..e820034 --- /dev/null +++ b/documentation/memory.txt @@ -0,0 +1,7 @@ +only the first 32GiB of physical memory are considered. this can be changed +with pram_pages in paging.cpp. as for virtual memory, the top 1GiB is reserved +for the kernel. the top 1MiB of that is reserved for the kernel stack, with an +unmapped guard page at the top and bottom of the kernel stack. + +if any of these facts change, the linker script and paging code should be +checked closely. |