A toy operating system written in C.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "src/kernel/panic.h"
|
|
#include "src/kernel/vga.h"
|
|
|
|
void kernel_panic(const char *msg, __attribute__((unused)) const char *file, __attribute__((unused)) int line) {
|
|
vga_set_string(0, VGA_HEIGHT - 1, msg, 0x28);
|
|
while (1)
|
|
;
|
|
}
|
|
|