This allows printk() to work from the start of day, and backtraces from as
early as the IDT is set up.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wl@xen.org>
mov %ebx, sym_esi(pvh_start_info_pa)
+ /* Force xen console. Will revert to user choice in init code. */
+ movb $-1, sym_esi(opt_console_xen)
+
/* Prepare gdt and segments */
add %esi, sym_esi(gdt_boot_base)
lgdt sym_esi(gdt_boot_descr)
if ( pvh_boot )
{
- /*
- * Force xen console to be enabled. We will reset it later in console
- * initialisation code.
- */
- opt_console_xen = -1;
ASSERT(mbi_p == 0);
pvh_init(&mbi, &mod);
}