diff options
author | Joursoir <chat@joursoir.net> | 2021-08-30 12:37:38 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-08-30 12:37:38 +0000 |
commit | a4d749210d4a628552717e9d3fe3ebf7ed84f1f0 (patch) | |
tree | 57bae5d3b1b5d9092309f9e3efa307028960a6a3 /kernel | |
parent | d206791e894510d04adf6b24d6da729ca85604e7 (diff) | |
download | mfsos-a4d749210d4a628552717e9d3fe3ebf7ed84f1f0.tar.gz mfsos-a4d749210d4a628552717e9d3fe3ebf7ed84f1f0.tar.bz2 mfsos-a4d749210d4a628552717e9d3fe3ebf7ed84f1f0.zip |
move the arch specific code for port IO to the correct place
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/i386.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/kernel/i386.h b/kernel/i386.h deleted file mode 100644 index 14f89b7..0000000 --- a/kernel/i386.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef KERNEL_I386 -#define KERNEL_I386 - -static inline void outb(uint16_t port, uint8_t data) -{ - asm volatile ( - "out %0,%1" - : /* no output */ - : "a" (data), "d" (port) - ); -} - -#endif /* KERNEL_I386 */ |