X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fmain.c;h=15e507682a7730739404df87011bc1b02449204a;hb=3706417c637c227575fb134fe479b03e52301ea1;hp=d89c8ce544cab7d07fad7279c8c4f4fc0db28502;hpb=c6ae41adef1bd7d54bc7e74abc4a5438e203d754;p=palacios.git diff --git a/palacios/src/geekos/main.c b/palacios/src/geekos/main.c index d89c8ce..15e5076 100644 --- a/palacios/src/geekos/main.c +++ b/palacios/src/geekos/main.c @@ -3,7 +3,7 @@ * Copyright (c) 2001,2003,2004 David H. Hovemeyer * Copyright (c) 2003, Jeffrey K. Hollingsworth * Copyright (c) 2004, Iulian Neamtiu - * $Revision: 1.3 $ + * $Revision: 1.6 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -284,8 +284,12 @@ void Main(struct Boot_Info* bootInfo) + + Init_BSS(); Init_Screen(); + + InitSerial(); Init_Mem(bootInfo); Init_CRC32(); @@ -298,15 +302,15 @@ void Main(struct Boot_Info* bootInfo) Init_VM(bootInfo); Init_Paging(); - Init_IDE(); + // Init_IDE(); Print("Done; stalling\n"); - while(1); + // while(1); -#if 1 +#if 0 SerialPrint("Dumping VM kernel Code (first 512 bytes @ 0x%x)\n",VM_KERNEL_START); SerialMemDump((unsigned char *)VM_KERNEL_START, 512); /* @@ -314,6 +318,13 @@ void Main(struct Boot_Info* bootInfo) SerialMemDump((unsigned char *)VM_KERNEL_START, 512); */ #endif + +#if 1 + SerialPrint("Dumping GUEST KERNEL CODE (first 512*2 bytes @ 0x100000)\n"); + SerialMemDump((unsigned char *)0x100000, 512*2); +#endif + + while(1);