aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/vga/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/vga/text.cpp')
-rw-r--r--arch/x86_64/src/vga/text.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/src/vga/text.cpp b/arch/x86_64/src/vga/text.cpp
index dcfdb6b..5c94b84 100644
--- a/arch/x86_64/src/vga/text.cpp
+++ b/arch/x86_64/src/vga/text.cpp
@@ -1,7 +1,7 @@
#include "x86_64/vga/text.hpp"
#include "x86_64/boot/boot.hpp"
-#include "x86_64/vga/io.hpp"
+#include "x86_64/vga/crtc.hpp"
#include <algorithm>
#include <bit>
@@ -29,8 +29,8 @@ namespace teachos::x86_64::vga::text
{
auto cursor_disable_byte = std::byte{!enabled} << 5;
- io::crtc::address_port::write(io::crtc::registers::cursor_start);
- io::crtc::data_port::write(io::crtc::data_port::read() | cursor_disable_byte);
+ crtc::address::write(crtc::registers::cursor_start);
+ crtc::data::write(crtc::data::read() | cursor_disable_byte);
}
auto newline() -> void