X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fkmain.c;h=2404033f70121371f2f8d8f2342afc0ad5dca114;hb=c5698ff9776ac76cd2243525177c35b0d12855e0;hp=645c87e60491b24d4f7fee3312fa1f75ecb62c09;hpb=a26564bc44eab32bea085e08fc83b7a1ab15f93f;p=bootcensus diff --git a/src/kmain.c b/src/kmain.c index 645c87e..2404033 100644 --- a/src/kmain.c +++ b/src/kmain.c @@ -25,6 +25,7 @@ along with this program. If not, see . #include "timer.h" #include "contty.h" #include "video.h" +#include "pci.h" #include "vbetest.h" @@ -40,6 +41,8 @@ void pcboot_main(void) init_mem(); + init_pci(); + /* initialize the timer */ init_timer(); @@ -60,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)) {