aboutsummaryrefslogtreecommitdiff
path: root/source/arch/x86_64/src/kernel/main.cpp
blob: 9ea756a3acc54cbf365d8478fc8cb7d062333bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "arch/kernel/main.hpp"

#include "arch/video/vga/text.hpp"

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");
    }
  }
}  // namespace teachos::arch::kernel