[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: No need for short jmp before long hjmp when setting CR0.PE



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1228303294 0
# Node ID 28d485613eb3666b7e060c10eee9777a93b9eded
# Parent  2797ad5509252b49820fc1713209dc4cf95a9962
x86: No need for short jmp before long hjmp when setting CR0.PE
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/boot/wakeup.S |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r 2797ad550925 -r 28d485613eb3 xen/arch/x86/boot/wakeup.S
--- a/xen/arch/x86/boot/wakeup.S        Tue Dec 02 22:17:22 2008 +0000
+++ b/xen/arch/x86/boot/wakeup.S        Wed Dec 03 11:21:34 2008 +0000
@@ -50,8 +50,7 @@ 1:      # Show some progress if VGA is r
 
         movw    $1, %ax
         lmsw    %ax             # Turn on CR0.PE 
-        jmp     1f
-1:      ljmpl   $BOOT_CS32, $bootsym_phys(wakeup_32)
+        ljmpl   $BOOT_CS32, $bootsym_phys(wakeup_32)
 
 /* This code uses an extended set of video mode numbers. These include:
  * Aliases for standard modes

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.