From d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 6 May 2020 19:04:05 +0200 Subject: New build parameters and shared includes This changes many files but I've just applied some replace commands.. So - nothing special! --- src/kernel/io/io.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/kernel/io/io.h') diff --git a/src/kernel/io/io.h b/src/kernel/io/io.h index 50e9c6f..8b3dd2f 100644 --- a/src/kernel/io/io.h +++ b/src/kernel/io/io.h @@ -8,21 +8,21 @@ * @param port The hardware port * @return The hardware response */ -uint8_t inb(uint16_t port); +u8 inb(u16 port); /** * Receive from specified hardware port * @param port The hardware port * @return The hardware response */ -uint16_t inw(uint16_t port); +u16 inw(u16 port); /** * Receive from specified hardware port * @param port The hardware port * @return The hardware response */ -uint32_t inl(uint16_t port); +u32 inl(u16 port); void cli(); void sti(); @@ -33,21 +33,21 @@ void hlt(); * @param port The hardware port * @param data The data that should be sent */ -void outb(uint16_t port, uint8_t data); +void outb(u16 port, u8 data); /** * Send data to the specified hardware port * @param port The hardware port * @param data The data that should be sent */ -void outw(uint16_t port, uint16_t data); +void outw(u16 port, u16 data); /** * Send data to the specified hardware port * @param port The hardware port * @param data The data that should be sent */ -void outl(uint16_t port, uint32_t data); +void outl(u16 port, u32 data); /** * Initialize the serial conenction -- cgit v1.2.3