BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / b33d632d85a31b49ca4a764fe3b644a60459387b / kernel / idt.h

// Related

Nucleus

Barry Interrupt handlers b33d632 (3 years, 3 months ago)
diff --git a/kernel/idt.h b/kernel/idt.h
new file mode 100644
index 0000000..204f285
--- /dev/null
+++ b/kernel/idt.h
@@ -0,0 +1,13 @@
+#ifndef KERNEL_IDT_H
+#define KERNEL_IDT_H
+
+#include <stdint.h>
+
+/* Structure for an Interrupt Frame */
+struct InterruptFrame {
+	uint32_t eip, cs, eflags;
+};
+
+void init_idt(void);
+
+#endif