summaryrefslogtreecommitdiff
path: root/include/isr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/isr.h')
-rw-r--r--include/isr.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/isr.h b/include/isr.h
new file mode 100644
index 0000000..831a2f4
--- /dev/null
+++ b/include/isr.h
@@ -0,0 +1,13 @@
+#ifndef ISR_H
+#define ISR_H
+
+#include "types.h"
+
+struct registers{
+ uint32_t ds;
+ uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
+ uint32_t int_no, err_code;
+ uint32_t eip, cs, eflags, useresp, ss;
+} __attribute__((packed));
+
+#endif // ISR_H