aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/debug')
-rw-r--r--arch/x86_64/src/debug/qemu_output.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/x86_64/src/debug/qemu_output.cpp b/arch/x86_64/src/debug/qemu_output.cpp
deleted file mode 100644
index 71acede..0000000
--- a/arch/x86_64/src/debug/qemu_output.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <arch/debug/qemu_output.hpp>
-
-#include <kapi/cio.hpp>
-
-#include <algorithm>
-#include <string_view>
-
-namespace arch::debug
-{
-
- qemu_output::qemu_output(output_device & lower)
- : m_lower{lower}
- , m_present{port::read() == port::address}
- {}
-
- auto qemu_output::write(kapi::cio::output_stream stream, std::string_view text) -> void
- {
- if (m_present)
- {
- std::ranges::for_each(text, port::write<port::value_type>);
- }
- m_lower.write(stream, text);
- }
-
-} // namespace arch::debug