A poorly written OS for the x86 arch. (WIP)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
eOS/kernel/interupt.h

13 lines
216 B

3 years ago
#include "../lib/types.h"
3 years ago
3 years ago
#define IDT_MAX_DESCS 256
3 years ago
__attribute__((noreturn))
void exception_handler();
__attribute__((noreturn))
void interupt_handler();
3 years ago
void idt_set_desc(uint8, void*, uint8);
void idt_init();