aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory/main.cpp
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2025-05-12 08:50:12 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2025-05-12 08:50:12 +0000
commitee4c61f7313fedd23d01c69ea5036fa38ef6248a (patch)
treecacb52db9b5233794c6284d14ef9306a045f5d72 /arch/x86_64/src/memory/main.cpp
parentef156dd6430855434b54275b22cd43ee3cedcfdc (diff)
downloadteachos-ee4c61f7313fedd23d01c69ea5036fa38ef6248a.tar.xz
teachos-ee4c61f7313fedd23d01c69ea5036fa38ef6248a.zip
Adjust user heap to lazy allocate heap
Diffstat (limited to 'arch/x86_64/src/memory/main.cpp')
-rw-r--r--arch/x86_64/src/memory/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86_64/src/memory/main.cpp b/arch/x86_64/src/memory/main.cpp
index 595cb0d..5e671ac 100644
--- a/arch/x86_64/src/memory/main.cpp
+++ b/arch/x86_64/src/memory/main.cpp
@@ -69,11 +69,7 @@ namespace teachos::arch::memory
video::vga::text::write("Kernel remapping successful", video::vga::text::common_attributes::green_on_black);
video::vga::text::newline();
- // Remap kernel heap
remap_heap(heap::KERNEL_HEAP_START, heap::KERNEL_HEAP_SIZE);
- // Remap user heap
- remap_heap(heap::USER_HEAP_SIZE, heap::USER_HEAP_SIZE, paging::entry::USER_ACCESSIBLE);
-
video::vga::text::write("Heap remapping successful", video::vga::text::common_attributes::green_on_black);
video::vga::text::newline();
}