x86_64: re-enable legacy PIC and PIT initialisation
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
#define MAX_ISR_HANDLERS 16
|
||||
|
||||
extern void syscall_gate();
|
||||
extern void syscall_gate(void);
|
||||
extern uintptr_t pf_faultptr(void);
|
||||
|
||||
static int_hook isr_handlers[NR_IDT_ENTRIES];
|
||||
@@ -92,7 +92,7 @@ static void set_syscall_gate(uintptr_t rip)
|
||||
}
|
||||
#endif
|
||||
|
||||
static void init_pic()
|
||||
static void init_pic(void)
|
||||
{
|
||||
// Remap the PIC
|
||||
outportb(0x20, 0x11);
|
||||
|
||||
Reference in New Issue
Block a user