summaryrefslogtreecommitdiff
path: root/include/isr.h
diff options
context:
space:
mode:
authorSimponic <loganthebean222@gmail.com>2021-03-01 15:17:24 -0700
committerSimponic <loganthebean222@gmail.com>2021-03-01 15:17:24 -0700
commitc0c846cc15bbc4a14f705eeb923ed1024f4ee1a0 (patch)
tree9556cbe258bc72d263c33dc4d9876d4fb72402dc /include/isr.h
parent09d1dcf3b115658283cb09a08986271398e8d8f8 (diff)
downloadsimponicOS-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.tar.gz
simponicOS-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.zip
Move to GitHub for flexing
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