summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/io.h (renamed from kernel/i386.h)8
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/i386.h b/arch/x86/include/asm/io.h
index 14f89b7..02009d5 100644
--- a/kernel/i386.h
+++ b/arch/x86/include/asm/io.h
@@ -1,5 +1,7 @@
-#ifndef KERNEL_I386
-#define KERNEL_I386
+#ifndef ASM_X86_IO_H
+#define ASM_X86_IO_H
+
+#include <stdint.h>
static inline void outb(uint16_t port, uint8_t data)
{
@@ -10,4 +12,4 @@ static inline void outb(uint16_t port, uint8_t data)
);
}
-#endif /* KERNEL_I386 */
+#endif /* ASM_X86_IO_H */