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.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp
new file mode 100644
index 0000000..0e90264
--- /dev/null
+++ b/arch/x86_64/src/kernel/main.cpp
@@ -0,0 +1,15 @@
+#include "arch/kernel/main.hpp"
+
+#include "arch/video/vga/text.hpp"
+
+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);
+ }
+} // namespace teachos::arch::kernel