[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] x86/64: Make BIOS call to declare our intention to enter long mode.
# 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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |