This commit is contained in:
2026-04-11 22:27:54 +08:00
parent b65829c94f
commit 5e75e09e5d
12 changed files with 591 additions and 58 deletions

10
clks/include/clks/panic.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef CLKS_PANIC_H
#define CLKS_PANIC_H
#include <clks/compiler.h>
#include <clks/types.h>
CLKS_NORETURN void clks_panic(const char *reason);
CLKS_NORETURN void clks_panic_exception(const char *name, u64 vector, u64 error_code, u64 rip);
#endif