aboutsummaryrefslogtreecommitdiff
path: root/source/kernel/arch/x86_64/src/entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/kernel/arch/x86_64/src/entry.cpp')
-rw-r--r--source/kernel/arch/x86_64/src/entry.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/kernel/arch/x86_64/src/entry.cpp b/source/kernel/arch/x86_64/src/entry.cpp
index 2d4e7fb..fd9d9d0 100644
--- a/source/kernel/arch/x86_64/src/entry.cpp
+++ b/source/kernel/arch/x86_64/src/entry.cpp
@@ -1,10 +1,9 @@
-namespace teachos
+#include "kernel/vga.hpp"
+
+namespace teachos::kernel
{
extern "C" auto kernel_main() -> void
{
- while (true)
- {
- asm volatile("nop");
- }
+ vga::write("TeachOS is starting up...", static_cast<std::byte>(0x4f));
}
} // namespace teachos