mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-24 11:14:01 +00:00
接着上个
This commit is contained in:
10
clks.local.bak/include/clks/panic.h
Normal file
10
clks.local.bak/include/clks/panic.h
Normal 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, u64 rbp, u64 rsp);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user