aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/kernel')
-rw-r--r--arch/x86_64/src/kernel/main.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp
index 01c14a5..cb5092c 100644
--- a/arch/x86_64/src/kernel/main.cpp
+++ b/arch/x86_64/src/kernel/main.cpp
@@ -2,8 +2,6 @@
#include "arch/video/vga/text.hpp"
-#include "stdio.h"
-
namespace teachos::arch::kernel
{
auto main(size_t multiboot_information_address) -> void
@@ -13,8 +11,9 @@ namespace teachos::arch::kernel
text::clear();
text::cursor(false);
text::write("TeachOS is starting up...", text::common_attributes::green_on_black);
- char address[32U] = {};
- snprintf(address, sizeof(address), "Multiboot address: (%lu)", multiboot_information_address);
- text::write(address, text::common_attributes::green_on_black);
+ if (multiboot_information_address > 5)
+ {
+ return;
+ }
}
} // namespace teachos::arch::kernel