Files
magenta/include/mango/panic.h
T

13 lines
235 B
C
Raw Normal View History

2024-11-02 11:31:51 +00:00
#ifndef MANGO_PANIC_H_
#define MANGO_PANIC_H_
2023-04-09 16:35:15 +01:00
2024-11-02 11:31:51 +00:00
#include <mango/compiler.h>
2023-04-09 16:35:15 +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