summaryrefslogtreecommitdiff
path: root/kernel/src/io/output/serial
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/src/io/output/serial')
-rw-r--r--kernel/src/io/output/serial/uart_16550.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/src/io/output/serial/uart_16550.rs b/kernel/src/io/output/serial/uart_16550.rs
new file mode 100644
index 0000000..984854a
--- /dev/null
+++ b/kernel/src/io/output/serial/uart_16550.rs
@@ -0,0 +1,15 @@
+pub enum SerialPortAddress {
+ Com1 = 0x3F8,
+ Com2 = 0x2F8,
+ Com3 = 0x3E8,
+ Com4 = 0x2E8,
+}
+
+#[derive(Default)]
+pub struct Uart16550 {}
+
+impl Uart16550 {
+ pub fn new() -> Self {
+ Self {}
+ }
+}