From 5af237109c8d0c5fa1b0772dbe56d1530ef4a1d5 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 26 Nov 2023 18:30:52 -0600 Subject: arch: i386: pic.h: change all chars into uint8_t Make all variables with char or char* type into uint8_t. This makes the system more consistent and issues fewer compiler warnings. Signed-off-by: Danny Holman --- arch/i386/include/kernel/pic.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/i386/include/kernel/pic.h') diff --git a/arch/i386/include/kernel/pic.h b/arch/i386/include/kernel/pic.h index c15c02f..779237e 100644 --- a/arch/i386/include/kernel/pic.h +++ b/arch/i386/include/kernel/pic.h @@ -1,6 +1,7 @@ #ifndef I386_PIC_H #define I386_PIC_H +#include #include #define PIC1 0x20 @@ -39,7 +40,7 @@ static inline void io_wait(void) { outb(0x80, 0); } -void pic_eoi(unsigned char irq); +void pic_eoi(uint8_t irq); void pic_remap(void); uint16_t pic_get_irr(void); uint16_t pic_get_isr(void); -- cgit v1.2.3