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

#include "x86_64/vga/text.hpp"

namespace teachos::cio
{

  auto static constinit vga_device = std::optional<vga::x86_64::text::device>{};

  auto init() -> void
  {
    vga_device.emplace();
    set_output_device(*vga_device);
  }

}  // namespace teachos::cio