mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-24 03:07:16 +00:00
16 lines
468 B
C
16 lines
468 B
C
#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
|