X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fpanic.c;h=1e79be638cd446f60af830f48e2c99fe77002a0a;hb=a2f065772bcb7766859033d140980720ef824546;hp=3daff29bbd1733ca39dbcee73db6d42301e1c982;hpb=97356e29f73e12f0856fde92a48e86c73bef387c;p=bootcensus
diff --git a/src/panic.c b/src/panic.c
index 3daff29..1e79be6 100644
--- a/src/panic.c
+++ b/src/panic.c
@@ -18,6 +18,7 @@ along with this program. If not, see .
#include
#include
#include
+#include "video.h"
#include "asmops.h"
struct all_registers {
@@ -37,6 +38,7 @@ void panic(const char *fmt, ...)
struct all_registers regs;
uint32_t eip;
+ set_vga_mode(3);
disable_intr();
memset(®s, 0, sizeof regs);