diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2024-12-03 09:15:46 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2024-12-03 09:15:46 +0000 |
| commit | 888ae9e053973125551729ff787b8f3c4cf4e1be (patch) | |
| tree | e88b5187e077ce7ac788f50b0a0c6a5890a4407e /arch/x86_64/src/kernel | |
| parent | 05fe50cefb12a7333a320a3d101dccdd13b8034a (diff) | |
| download | teachos-888ae9e053973125551729ff787b8f3c4cf4e1be.tar.xz teachos-888ae9e053973125551729ff787b8f3c4cf4e1be.zip | |
add additional tests to heap_test
Diffstat (limited to 'arch/x86_64/src/kernel')
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp index a29c947..c0fcc27 100644 --- a/arch/x86_64/src/kernel/main.cpp +++ b/arch/x86_64/src/kernel/main.cpp @@ -39,6 +39,9 @@ namespace teachos::arch::kernel { video::vga::text::write("Kernel remapping successfull", video::vga::text::common_attributes::green_on_black); } + test2->kernel_end = 2000; + test2->kernel_start = 1000; + test2->multiboot_start = 2000; heap_allocator.deallocate(test, 1024); auto test9 = heap_allocator.allocate(1024); |
