[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Clean up vmxassist/setup.c. It is no longer necessary to
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 6ff2db6072567ae3f7a8213e7624fab44d9d177d # Parent 4a9a39d08a065edc829bbc887b56c9c0509f1eb2 Clean up vmxassist/setup.c. It is no longer necessary to switch to an alternate page table before entering the real-mode emulator. Signed-off-by: Xin B Li <xin.b.li@xxxxxxxxx> Signed-off-by: Leendert van Doorn <leendert@xxxxxxxxxxxxxx> diff -r 4a9a39d08a06 -r 6ff2db607256 tools/firmware/vmxassist/setup.c --- a/tools/firmware/vmxassist/setup.c Sat Feb 11 12:06:49 2006 +++ b/tools/firmware/vmxassist/setup.c Mon Feb 13 09:19:14 2006 @@ -353,8 +353,6 @@ void start_bios(void) { - unsigned long cr0; - if (booting_cpu == 0) printf("Start BIOS ...\n"); else @@ -362,11 +360,7 @@ booting_cpu, booting_vector << 12); initialize_real_mode = 1; - cr0 = get_cr0(); -#ifndef TEST - set_cr0(cr0 | CR0_PE); -#endif - set_cr0(cr0 & ~CR0_PE); + set_cr0(get_cr0() & ~CR0_PE); panic("vmxassist returned"); /* "cannot happen" */ } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |