diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-12 08:50:05 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-12 08:50:05 +0000 |
| commit | f45fdae9913a9d8e003cf681621e71516b2054b5 (patch) | |
| tree | a519e803ff5af8f730bc7e3785d5a739440e582b /arch/x86_64/src/kernel | |
| parent | 0ca0c40c197c214288ad2ed1179ae9ae28c50194 (diff) | |
| download | teachos-f45fdae9913a9d8e003cf681621e71516b2054b5.tar.xz teachos-f45fdae9913a9d8e003cf681621e71516b2054b5.zip | |
Add notes on why system crashes
Diffstat (limited to 'arch/x86_64/src/kernel')
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp index f9b252d..679fb8d 100644 --- a/arch/x86_64/src/kernel/main.cpp +++ b/arch/x86_64/src/kernel/main.cpp @@ -25,7 +25,7 @@ namespace teachos::arch::kernel memory::cpu::set_efer_bit(memory::cpu::efer_flags::NXE); memory::paging::kernel_mapper kernel(allocator, memory_information); - auto & active_table = kernel.remap_kernel(); + kernel.remap_kernel(); video::vga::text::write("Kernel remapping successfull", video::vga::text::common_attributes::green_on_black); // TODO: Map heap virtual pages with active table |
