From d47e627d0006e038dcd1c34b9015c3370f7b4b0c Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 2 Mar 2021 23:34:39 +0100 Subject: Getting closer! --- kernel/inc/interrupts.h | 1 + kernel/inc/load.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/inc') diff --git a/kernel/inc/interrupts.h b/kernel/inc/interrupts.h index 30c91c3..fc00402 100644 --- a/kernel/inc/interrupts.h +++ b/kernel/inc/interrupts.h @@ -32,6 +32,7 @@ void irq_uninstall_handler(int irq); void isr_install_handler(int isr, void (*handler)(struct regs *r)); void isr_uninstall_handler(int isr); +void isr_panic(struct regs *r); void interrupts_install(void); diff --git a/kernel/inc/load.h b/kernel/inc/load.h index 407fbeb..330caca 100644 --- a/kernel/inc/load.h +++ b/kernel/inc/load.h @@ -5,7 +5,7 @@ #include -void proc_load(struct proc *proc, void *data); +void proc_load(struct proc *proc, u32 entry); int bin_load(const char *path, struct proc *proc); #endif -- cgit v1.2.3