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-unstable] x86/32: Limit bootstrap 1:1 mapping to 1G

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86/32: Limit bootstrap 1:1 mapping to 1GB.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2007 03:03:05 -0700
Delivery-date: Fri, 27 Jul 2007 03:01:06 -0700
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 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86/32: Limit bootstrap 1:1 mapping to 1GB., Xen patchbot-unstable <=