diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2025-02-20 16:05:19 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2025-02-20 16:05:19 +0000 |
| commit | 00fd8cf8f72d6c5c3d6150f3ec833ded9e34b2b1 (patch) | |
| tree | 7ba87d65fea944b7799fc4176f1bfd4615d20f69 /arch/x86_64/src/kernel | |
| parent | 27874721a35fe7ccde843c7ab88ab72e74fe6b42 (diff) | |
| download | teachos-00fd8cf8f72d6c5c3d6150f3ec833ded9e34b2b1.tar.xz teachos-00fd8cf8f72d6c5c3d6150f3ec833ded9e34b2b1.zip | |
add heap_allocator base class
Diffstat (limited to 'arch/x86_64/src/kernel')
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp index ed9fc58..7c03644 100644 --- a/arch/x86_64/src/kernel/main.cpp +++ b/arch/x86_64/src/kernel/main.cpp @@ -50,8 +50,10 @@ namespace teachos::arch::kernel video::vga::text::newline(); memory::initialize_memory_management(); - // stack_overflow_test(0); + + memory::heap::global_heap_allocator::register_heap_allocator_type(memory::heap::heap_allocator_type::LINKED_LIST); + heap_test(); } } // namespace teachos::arch::kernel |
