summaryrefslogtreecommitdiff
path: root/Kernel/IO.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/IO.h')
-rw-r--r--Kernel/IO.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/IO.h b/Kernel/IO.h
index 3800d3fcfe..ae4bcd8e7c 100644
--- a/Kernel/IO.h
+++ b/Kernel/IO.h
@@ -13,6 +13,10 @@
namespace IO {
+// Every character written to this IO port is written to the Bochs console
+// (e.g. the console where Qemu is running).
+static constexpr u16 BOCHS_DEBUG_PORT = 0xE9;
+
inline u8 in8(u16 port)
{
u8 value;