// Entry point for Power On Self Test (POST) - the BIOS initilization // phase. This function makes the memory at 0xc0000-0xfffff // read/writable and then calls dopost(). void VISIBLE32FLAT handle_post(void) { #if CONFIG_PRINT_TIMESTAMPS u64 tscval; #endif if (!CONFIG_QEMU && !CONFIG_COREBOOT) return; serial_debug_preinit(); debug_banner(); #if CONFIG_PRINT_TIMESTAMPS tscval = rdtscll(); dprintf(1, "TSC: Start of seabios: 0x%08lx_%08lx\n", (unsigned long)(tscval >> 32), (unsigned long)tscval); #endif // Check if we are running under Xen. xen_preinit(); // Allow writes to modify bios area (0xf0000) make_bios_writable(); // Now that memory is read/writable - start post process. dopost(); }
// Entry point for Power On Self Test (POST) - the BIOS initilization // phase. This function makes the memory at 0xc0000-0xfffff // read/writable and then calls dopost(). void VISIBLE32FLAT handle_post(void) { if (!CONFIG_QEMU && !CONFIG_COREBOOT) return; serial_debug_preinit(); debug_banner(); // Check if we are running under Xen. xen_preinit(); // Allow writes to modify bios area (0xf0000) make_bios_writable(); // Now that memory is read/writable - start post process. dopost(); }