aboutsummaryrefslogtreecommitdiff
path: root/i686/sys/io.h
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-03-12 18:39:39 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-03-12 18:39:39 +0200
commitfbc736463f2ca2f5dbf1b7c412f408245e61df97 (patch)
tree84a66eabc5e3be2191ae0d5d1e0ff33d05515b4a /i686/sys/io.h
parentAdd unit tests for C drivers (diff)
downloadkernel-fbc736463f2ca2f5dbf1b7c412f408245e61df97.tar.xz
Revert VGA C driver
Diffstat (limited to 'i686/sys/io.h')
-rw-r--r--i686/sys/io.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/i686/sys/io.h b/i686/sys/io.h
index b6c24c5..da586b9 100644
--- a/i686/sys/io.h
+++ b/i686/sys/io.h
@@ -11,16 +11,6 @@ enum UART {
COM7 = 0x5e8,
COM8 = 0x4e8,
};
-enum UARTPortOffset {
- Data = 0, // read from receive buffer / write to transmit buffer | BaudDiv_l
- InterruptControl = 1, // interrupt enable | BaudDiv_h
- FifoControl = 2, // interrupt ID and FIFO control
- LineControl = 3, // most significant bit is the DLAB
- ModemControl = 4,
- LineStatus = 5,
- ModemStatus = 6,
- Scratch = 7,
-};
static inline void
outb(unsigned char val, unsigned short port)