On Thu, Dec 29, 2011 at 07:23:44PM +0100, Elisenda Cuadros wrote:
Hi,
I tried what you said, but it seems this is not the problem.
I changed the ram module too, it didnĀ“t fix anything.
How can I add the debugging code you told me?
Change the code with something like the below.
-Kevin
--- a/src/post.c +++ b/src/post.c @@ -197,6 +197,7 @@ void VISIBLE32FLAT startBoot(void) { // Clear low-memory allocations (required by PMM spec). + dprintf(1, "d\n"); memset((void*)BUILD_STACK_ADDR, 0, BUILD_EBDA_MINIMUM - BUILD_STACK_ADDR);
dprintf(3, "Jump to int19\n"); @@ -272,12 +273,15 @@ maininit(void) memmap_finalize();
// Setup bios checksum. + dprintf(1, "a\n"); BiosChecksum -= checksum((u8*)BUILD_BIOS_ADDR, BUILD_BIOS_SIZE);
// Write protect bios memory. + dprintf(1, "b\n"); make_bios_readonly();
// Invoke int 19 to start boot process. + dprintf(1, "c\n"); startBoot(); }