#include "idt.h" struct IDT_REGISTER IDTR={ 8*IDT_MAX_ENTRY, 0x0 }; // Interrupt functions (cf int.S) extern u32 INT_DEFAULT, INT_PAGE_FAULT, INT_CLOCK, INT_KEYPRESS, INT_SYSCALL; void idt_init(){ // Map first default 32 entries for(int i=0;i