/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1052-2.6.25-xen-Set-__HYPERVISOR_VIRT_START-for-x86_64.patch |
Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1052-2.6.25-xen-Set-__HYPERVISOR_VIRT_START-for-x86_64.patch
Parent Directory | Revision Log
Revision 606 -
(show annotations)
(download)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 1139 byte(s)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 1139 byte(s)
-ver bump to 2.6.25-magellan-r1: - linux-2.6.25.4 - fbcondecor-0.9.4 - squashfs-3.3 - unionfs-2.3.3 - tuxonice-3.0-rc7 - linux-phc-0.3.0 - acpi-dstd-0.9a - reiser4 - xen-3.2.0 . ipw3945-1.2.2
1 | From bfc3bdbb152e2bfa79830e74db141d27113c0a07 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Wed, 5 Dec 2007 17:43:29 -0200 |
4 | Subject: [PATCH] xen: Set __HYPERVISOR_VIRT_START for x86_64 |
5 | |
6 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
7 | --- |
8 | include/asm-x86/xen/interface.h | 10 +++++++--- |
9 | 1 files changed, 7 insertions(+), 3 deletions(-) |
10 | |
11 | diff --git a/include/asm-x86/xen/interface.h b/include/asm-x86/xen/interface.h |
12 | index 165c396..563074c 100644 |
13 | --- a/include/asm-x86/xen/interface.h |
14 | +++ b/include/asm-x86/xen/interface.h |
15 | @@ -72,10 +72,14 @@ DEFINE_GUEST_HANDLE(void); |
16 | * Virtual addresses beyond this are not modifiable by guest OSes. The |
17 | * machine->physical mapping table starts at this address, read-only. |
18 | */ |
19 | -#ifdef CONFIG_X86_PAE |
20 | -#define __HYPERVISOR_VIRT_START 0xF5800000 |
21 | +#ifdef CONFIG_X86_64 |
22 | +#define __HYPERVISOR_VIRT_START 0xFFFF800000000000 |
23 | #else |
24 | -#define __HYPERVISOR_VIRT_START 0xFC000000 |
25 | +# ifdef CONFIG_X86_PAE |
26 | +# define __HYPERVISOR_VIRT_START 0xF5800000 |
27 | +# else |
28 | +# define __HYPERVISOR_VIRT_START 0xFC000000 |
29 | +# endif |
30 | #endif |
31 | |
32 | #ifndef HYPERVISOR_VIRT_START |
33 | -- |
34 | 1.5.4.1 |
35 |