summaryrefslogtreecommitdiff
path: root/src/isr.c
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 /src/isr.c
parent09d1dcf3b115658283cb09a08986271398e8d8f8 (diff)
downloadsimponicos-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.tar.gz
simponicos-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.zip
Move to GitHub for flexing
Diffstat (limited to 'src/isr.c')
-rw-r--r--src/isr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/isr.c b/src/isr.c
new file mode 100644
index 0000000..fbc61dc
--- /dev/null
+++ b/src/isr.c
@@ -0,0 +1,8 @@
+#include "isr.h"
+#include "print.h"
+
+void isr_handler(struct registers regs) {
+ printToMonitor("recieved interrupt: \n");
+ printIntToMonitor(regs.int_no, 10);
+ printToMonitor("\n");
+}