WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Clean up vmxassist/setup.c. It is no longer necessary to

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Clean up vmxassist/setup.c. It is no longer necessary to
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Feb 2006 12:34:09 +0000
Delivery-date: Mon, 13 Feb 2006 12:47:06 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Clean up vmxassist/setup.c. It is no longer necessary to, Xen patchbot -unstable <=