From c9961af38885b92a86e61e54286c2e60b1585359 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 11 Jan 2010 06:28:28 +0100 Subject: Move port IO macros to a separate file. --- kernel/printf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kernel/printf.c') 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') { -- cgit v1.2.3