From 2ce0f8af51dae9e7d591ff5fd038f89d6ca9dbbe Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sat, 24 Feb 2024 14:44:38 -0600 Subject: arch: i386: cleanup everything and reorganize Clean up everything in the i386 arch directory. This code has been in dire need of refactoring for a long while. All the inline assembly functions and the data structures related to the architecture should be placed into their own header file. Now the scheduler can access registers and ISRs without having to deal with arch-specific code. Signed-off-by: Danny Holman --- arch/i386/include/kernel/keyboard.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'arch/i386/include/kernel/keyboard.h') diff --git a/arch/i386/include/kernel/keyboard.h b/arch/i386/include/kernel/keyboard.h index 8f39a70..7b63993 100644 --- a/arch/i386/include/kernel/keyboard.h +++ b/arch/i386/include/kernel/keyboard.h @@ -1,7 +1,6 @@ #ifndef I386_KEYBOARD_H #define I386_KEYBOARD_H -#include #include #define KB_STAT 0x64 @@ -28,6 +27,6 @@ #define KB_DEL 0xE9 char keyboard_getchar(void); -void keyboard_handler(struct isr_frame *frame); +void keyboard_handler(void); #endif -- cgit v1.2.3