blob: b15fe8382db8ee22f1fa7dccdd7f448ec21ca1df (
plain)
1
2
3
4
5
6
7
8
|
#include <stdlib.h>
#include "cpu/registers.h"
extern "C" void handle_exception(const cpu_state_t* r) {
printk("exception ", uhex{r->irq}, " ec ", uhex{r->error}, " eip: ", uhex{r->eip}, '\n');
abort();
};
|