diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-01-11 06:28:28 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-01-11 06:28:28 +0100 |
commit | c9961af38885b92a86e61e54286c2e60b1585359 (patch) | |
tree | 4bd58de6b3dbfb8b7ebc2f3de3b3b88dff3402d3 /kernel/printf.c | |
parent | 93af394f5d55445b22fa50e99d8f8376cb34e8e1 (diff) |
Move port IO macros to a separate file.
Diffstat (limited to 'kernel/printf.c')
-rw-r--r-- | kernel/printf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/printf.c b/kernel/printf.c index 4b3a632..0b51f8d 100644 --- a/kernel/printf.c +++ b/kernel/printf.c @@ -1,7 +1,6 @@ #include "printf.h" #include "types.h" - -#define outb(port, value) asm volatile("out %b0,%w1" : : "a" (value), "d" (port)); +#include "portio.h" void putchar(char c) { if(c == '\n') { |