12 lines
246 B
C
12 lines
246 B
C
#include "exception.h"
|
|
#include "vga.h"
|
|
|
|
// Need GCC > 6
|
|
__attribute__ ((interrupt))
|
|
void print_handler(struct interrupt_frame *frame, ulong error_code){
|
|
|
|
printString("EXCEPTION", RED, BLACK, 0, 6);
|
|
(void) frame;
|
|
(void) error_code;
|
|
}
|