diff options
-rw-r--r-- | src/kernel/arch/i386/port_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/port_io.h b/src/kernel/arch/i386/port_io.h index 1938c97..eac9331 100644 --- a/src/kernel/arch/i386/port_io.h +++ b/src/kernel/arch/i386/port_io.h @@ -14,7 +14,7 @@ static inline uint8_t port_in8(uint16_t port) { return val; } -static inline uint8_t port_in16(uint16_t port) { +static inline uint16_t port_in16(uint16_t port) { uint16_t val; asm volatile("inw %1, %0" : "=a" (val) : "Nd" (port)); return val; |