Skip to content

panic

struct panic_regs {
uint64_t rsp;
uint64_t r15;
uint64_t rsi;
};
void qemu_exit(int code);
#define TEN_LINES "=========="
#define EIGHTY_LINES \ TEN_LINES TEN_LINES TEN_LINES TEN_LINES TEN_LINES TEN_LINES TEN_LINES \ TEN_LINES
#define panic(fmt, ...) \ panic_impl(__FILE__, __LINE__, __func__, fmt, ##__VA_ARGS__)