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

[Xen-changelog] [xen-unstable] x86/32: Limit bootstrap 1:1 mapping to 1GB.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1184337747 -3600
# Node ID f479595a3c5c8e8df6556ba5658d0d00d57da386
# Parent  8b4518a6f81547ccb70cc05665ae086a4638a29c
x86/32: Limit bootstrap 1:1 mapping to 1GB.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/setup.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 8b4518a6f815 -r f479595a3c5c xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Fri Jul 13 13:49:08 2007 +0100
+++ b/xen/arch/x86/setup.c      Fri Jul 13 15:42:27 2007 +0100
@@ -37,10 +37,10 @@
 #include <asm/edd.h>
 
 #if defined(CONFIG_X86_64)
-#define BOOTSTRAP_DIRECTMAP_END (1UL << 32)
+#define BOOTSTRAP_DIRECTMAP_END (1UL << 32) /* 4GB */
 #define maddr_to_bootstrap_virt(m) maddr_to_virt(m)
 #else
-#define BOOTSTRAP_DIRECTMAP_END HYPERVISOR_VIRT_START
+#define BOOTSTRAP_DIRECTMAP_END (1UL << 30) /* 1GB */
 #define maddr_to_bootstrap_virt(m) ((void *)(long)(m))
 #endif
 

_______________________________________________
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®.