@@ -167,11 +167,15 @@ platform_hardware_setup(void)
// Init base pc hardware.
pic_setup();
mathcp_setup();
+ outb('3', 0x402); outb('\n', 0x402);
timer_setup();
+ outb('4', 0x402); outb('\n', 0x402);
clock_setup();
// Platform specific setup
+ outb('5', 0x402); outb('\n', 0x402);
qemu_platform_setup();
+ outb('6', 0x402); outb('\n', 0x402);
coreboot_platform_setup();
}
@@ -200,6 +204,7 @@ startBoot(void)
// Clear low-memory allocations (required by PMM spec).
memset((void*)BUILD_STACK_ADDR, 0, BUILD_EBDA_MINIMUM - BUILD_STACK_ADDR);
+ outb('8', 0x402); outb('\n', 0x402);
dprintf(3, "Jump to int19\n");
struct bregs br;
memset(&br, 0, sizeof(br));
@@ -247,6 +252,7 @@ maininit(void)
prepareboot();
// Write protect bios memory.
+ outb('7', 0x402); outb('\n', 0x402);
make_bios_readonly();
// Invoke int 19 to start boot process.
@@ -331,12 +337,14 @@ handle_post(void)
serial_debug_preinit();
debug_banner();
+ outb('1', 0x402); outb('\n', 0x402);
// Check if we are running under Xen.
xen_preinit();
// Allow writes to modify bios area (0xf0000)
make_bios_writable();
+ outb('2', 0x402); outb('\n', 0x402);
// Now that memory is read/writable - start post process.
dopost();