aboutsummaryrefslogtreecommitdiff
path: root/source/arch/x86_64/src/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'source/arch/x86_64/src/kernel')
-rw-r--r--source/arch/x86_64/src/kernel/main.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/arch/x86_64/src/kernel/main.cpp b/source/arch/x86_64/src/kernel/main.cpp
index 9ea756a..26ae730 100644
--- a/source/arch/x86_64/src/kernel/main.cpp
+++ b/source/arch/x86_64/src/kernel/main.cpp
@@ -6,10 +6,9 @@ namespace teachos::arch::kernel
{
auto main() -> void
{
- video::vga::text::write("TeachOS is starting up...", static_cast<std::byte>(0x4f));
- while (true)
- {
- asm volatile("hlt");
- }
+ using namespace video::vga;
+
+ text::clear();
+ text::write("TeachOS is starting up...", text::common_attributes::green_on_black);
}
} // namespace teachos::arch::kernel