From c2f48fb5df0981df1df23de2b277274f9fe75080 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 8 Jan 2024 22:28:41 -0500 Subject: first commit --- documentation/memory.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 documentation/memory.txt (limited to 'documentation') 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. -- cgit v1.2.3