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/idt.h

12 lines
207 B

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