aboutsummaryrefslogtreecommitdiff
path: root/src/utils/pic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/pic.h')
-rw-r--r--src/utils/pic.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/utils/pic.h b/src/utils/pic.h
deleted file mode 100644
index 5ee1ab2..0000000
--- a/src/utils/pic.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef PIC_H
-#define PIC_H
-
-#include "types.h"
-
-#define IDT_INT_GATE 0x8E00
-#define IDT_TRAP_GATE 0xEF00
-
-typedef struct IDT_ENTRY {
- u16 segment;
- u32 offset;
- u16 type;
-} IDT_ENTRY;
-
-struct IDT_REGISTER {
- u16 limit;
- u32 base;
-} __attribute__((packed));
-
-void pic_enable_interrupt();
-void pic_add_idt_entry(IDT_ENTRY entry,int id);
-
-#endif \ No newline at end of file