aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts/interrupts.h
diff options
context:
space:
mode:
authorMarvin Borner2020-04-28 18:32:36 +0200
committerMarvin Borner2020-04-28 18:32:36 +0200
commit4b8518b4e791c68154ec52badcc921b62afafb49 (patch)
tree9c855266cf7451f503bf3cb849e63ac72ae48e74 /src/kernel/interrupts/interrupts.h
parent46007d2598b7aef13895b21669cfb6f24272e5fe (diff)
Maaaany fixes...
Sorry for the increasingly worse-getting commit messages :D
Diffstat (limited to 'src/kernel/interrupts/interrupts.h')
-rw-r--r--src/kernel/interrupts/interrupts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/interrupts/interrupts.h b/src/kernel/interrupts/interrupts.h
index 9047104..6651cfd 100644
--- a/src/kernel/interrupts/interrupts.h
+++ b/src/kernel/interrupts/interrupts.h
@@ -80,6 +80,12 @@ void irq_handler(struct regs *r);
*/
int irq_is_installed(int irq);
+/**
+ * Logs fault messages and panics
+ * @param r The registers
+ */
+void fault_handler(struct regs *r);
+
// Defined in isr.asm
extern void isr0();