X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fkmain.c;h=2404033f70121371f2f8d8f2342afc0ad5dca114;hb=c5698ff9776ac76cd2243525177c35b0d12855e0;hp=e0d135844182e7ea8a7c8468eb88ff1bd4936c44;hpb=395502ec9dab0fda04bacb223f1fecdbbbdbe1b7;p=bootcensus diff --git a/src/kmain.c b/src/kmain.c index e0d1358..2404033 100644 --- a/src/kmain.c +++ b/src/kmain.c @@ -25,6 +25,8 @@ along with this program. If not, see . #include "timer.h" #include "contty.h" #include "video.h" +#include "pci.h" +#include "vbetest.h" void logohack(void); @@ -39,6 +41,8 @@ void pcboot_main(void) init_mem(); + init_pci(); + /* initialize the timer */ init_timer(); @@ -59,9 +63,7 @@ void pcboot_main(void) break; case KB_F2: - set_video_mode(640, 480, 16); vbetest(); - set_vga_mode(3); break; } if(isprint(c)) {