X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=blobdiff_plain;f=src%2Fpanic.c;h=1e79be638cd446f60af830f48e2c99fe77002a0a;hp=3daff29bbd1733ca39dbcee73db6d42301e1c982;hb=81c11bdd80190ec319a82b0402173cfb65fcbf72;hpb=7dcd5071e600f8cf48174d1fddb3dba57ec9476d 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);