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] [xen-3.2-testing] x86/64: Make BIOS call to declare our

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] x86/64: Make BIOS call to declare our intention to enter long mode.
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 07:12:11 -0800
Delivery-date: Fri, 22 Feb 2008 07:44:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203344138 0
# Node ID 9b25888e8874e72debc94a8e46e5be724e235820
# Parent  e5ddff7a8509a4894be53af402fd6005a9f9e6d7
x86/64: Make BIOS call to declare our intention to enter long mode.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   17051:55ae3b66b1b6e9039f13d9eec0b98864ca87ba6f
xen-unstable date:        Thu Feb 14 11:24:49 2008 +0000
---
 xen/arch/x86/boot/trampoline.S |    7 +++++++
 1 files changed, 7 insertions(+)

diff -r e5ddff7a8509 -r 9b25888e8874 xen/arch/x86/boot/trampoline.S
--- a/xen/arch/x86/boot/trampoline.S    Mon Feb 18 14:14:57 2008 +0000
+++ b/xen/arch/x86/boot/trampoline.S    Mon Feb 18 14:15:38 2008 +0000
@@ -155,6 +155,13 @@ 1:      mov     $(BOOT_TRAMPOLINE>>4),%a
         lidt    bootsym(rm_idt)
         sti
 
+#if defined(__x86_64__)
+        /* Declare that our target operating mode is long mode. */
+        movw    $0xec00,%ax      # declare target operating mode
+        movw    $0x0002,%bx      # long mode
+        int     $0x15
+#endif
+
         /*
          * Do real-mode work:
          *  1. Get memory map.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] x86/64: Make BIOS call to declare our intention to enter long mode., Xen patchbot-3.2-testing <=