diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-21 12:03:21 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-21 12:03:21 +0000 |
| commit | 72cb015567cb65527e9105e653c001be3c04eab5 (patch) | |
| tree | e6fd25f5cab0ed5647fe1ee141be77f41810e372 /arch/x86_64/src/kernel/main.cpp | |
| parent | f171efed99684bf03c315405efda34e36d7db82c (diff) | |
| download | teachos-72cb015567cb65527e9105e653c001be3c04eab5.tar.xz teachos-72cb015567cb65527e9105e653c001be3c04eab5.zip | |
Use handle struct to ensure next_table is not called on page table level 1
Diffstat (limited to 'arch/x86_64/src/kernel/main.cpp')
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp index db0a9ef..88f6329 100644 --- a/arch/x86_64/src/kernel/main.cpp +++ b/arch/x86_64/src/kernel/main.cpp @@ -11,11 +11,9 @@ namespace teachos::arch::kernel { auto main() -> void { - using namespace video::vga; - - text::clear(); - text::cursor(false); - text::write("TeachOS is starting up...", text::common_attributes::green_on_black); + video::vga::text::clear(); + video::vga::text::cursor(false); + video::vga::text::write("TeachOS is starting up...", video::vga::text::common_attributes::green_on_black); auto memory_information = memory::multiboot::read_multiboot2(); memory::allocator::area_frame_allocator allocator(memory_information); |
