aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/kapi/cio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/kapi/cio.cpp')
-rw-r--r--arch/x86_64/src/kapi/cio.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/x86_64/src/kapi/cio.cpp b/arch/x86_64/src/kapi/cio.cpp
deleted file mode 100644
index 5594fcc..0000000
--- a/arch/x86_64/src/kapi/cio.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "kapi/cio.hpp"
-
-#include "x86_64/debug/qemu_output.hpp"
-#include "x86_64/vga/text.hpp"
-
-#include <optional>
-
-namespace teachos::cio
-{
-
- auto static constinit vga_device = std::optional<vga::x86_64::text::device>{};
- auto static constinit dbg_device = std::optional<debug::x86_64::qemu_output>{};
-
- auto init() -> void
- {
- vga_device.emplace().cursor(false);
- set_output_device(dbg_device.emplace(*vga_device));
- }
-
-} // namespace teachos::cio