summaryrefslogtreecommitdiff
path: root/kernel/include/panic.h
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksa@vuckovic.cc>2023-02-26 07:29:26 +0100
committerAleksa Vuckovic <aleksa@vuckovic.cc>2023-02-26 07:39:55 +0100
commita362a43899040a3848427c4d1f3bd1d3e53f46ec (patch)
tree3255f10f358ab2dba1555a45a91950d185d397f7 /kernel/include/panic.h
parent40eecaecc552945f72a2b90f4122bf929960671c (diff)
passing rsp from isr_stub, fixing panic()
Diffstat (limited to 'kernel/include/panic.h')
-rw-r--r--kernel/include/panic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/panic.h b/kernel/include/panic.h
index 4949c77..9fb3f4f 100644
--- a/kernel/include/panic.h
+++ b/kernel/include/panic.h
@@ -5,6 +5,6 @@
extern uint64_t panic_rsp;
-__attribute__((noreturn)) void panic(const char *error, ...);
+__attribute__((noreturn)) void panic(uint64_t rsp, const char *s, ...);
#endif