diff options
Diffstat (limited to 'kernel/port.c')
| -rw-r--r-- | kernel/port.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel/port.c b/kernel/port.c deleted file mode 100644 index 17af396..0000000 --- a/kernel/port.c +++ /dev/null @@ -1,14 +0,0 @@ -#include "port.h" - -uint8_t inb(uint16_t port) -{ - uint8_t data; - __asm__ ("inb %1, %0" : "=a"(data) : "d"(port)); - return data; -} - -void outb(uint16_t port, uint8_t data) -{ - __asm__ ("outb %0, %1" :: "a"(data), "d"(port)); -} - |
