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

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

namespace teachos::arch::kernel
{
  auto main(size_t multiboot_information_address) -> void
  {
    using namespace video::vga;

    text::clear();
    text::cursor(false);
    text::write("TeachOS is starting up...", text::common_attributes::green_on_black);
    if (multiboot_information_address > 5)
    {
      return;
    }
  }
}  // namespace teachos::arch::kernel