2023-04-09 16:35:15 +01:00
|
|
|
#ifndef SOCKS_PANIC_H_
|
|
|
|
|
#define SOCKS_PANIC_H_
|
|
|
|
|
|
|
|
|
|
#include <socks/compiler.h>
|
|
|
|
|
|
2023-05-03 19:22:12 +01:00
|
|
|
struct cpu_context;
|
|
|
|
|
|
|
|
|
|
#define panic(...) panic_irq(NULL, __VA_ARGS__)
|
|
|
|
|
|
|
|
|
|
extern void __noreturn panic_irq(struct cpu_context *ctx, const char *fmt, ...);
|
2023-04-09 16:35:15 +01:00
|
|
|
|
|
|
|
|
#endif
|