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] [MINIOS] fix x86_64 p2m map and CFLAGS

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [MINIOS] fix x86_64 p2m map and CFLAGS
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Aug 2007 05:30:10 -0700
Delivery-date: Tue, 07 Aug 2007 05:27:33 -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 Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1186041728 -3600
# Node ID bf85b467ee8963c986997654452911bd82a27edb
# Parent  0c79a9414f8db20706a10db2b586f1a1770193e3
[MINIOS] fix x86_64 p2m map and CFLAGS
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 extras/mini-os/Makefile          |    4 ++++
 extras/mini-os/arch/x86/Makefile |    3 +++
 extras/mini-os/arch/x86/mm.c     |    6 +++---
 3 files changed, 10 insertions(+), 3 deletions(-)

diff -r 0c79a9414f8d -r bf85b467ee89 extras/mini-os/Makefile
--- a/extras/mini-os/Makefile   Wed Aug 01 12:55:10 2007 +0100
+++ b/extras/mini-os/Makefile   Thu Aug 02 09:02:08 2007 +0100
@@ -123,3 +123,7 @@ tags:
 tags:
        $(all_sources) | xargs ctags
 
+.PHONY: TAGS
+TAGS:
+       $(all_sources) | xargs etags
+
diff -r 0c79a9414f8d -r bf85b467ee89 extras/mini-os/arch/x86/Makefile
--- a/extras/mini-os/arch/x86/Makefile  Wed Aug 01 12:55:10 2007 +0100
+++ b/extras/mini-os/arch/x86/Makefile  Thu Aug 02 09:02:08 2007 +0100
@@ -2,6 +2,9 @@
 # x86 architecture specific makefiles.
 # It's is used for x86_32, x86_32y and x86_64
 #
+
+XEN_ROOT = ../../../..
+include $(XEN_ROOT)/Config.mk
 
 # include arch.mk has to be before mini-os.mk!
 
diff -r 0c79a9414f8d -r bf85b467ee89 extras/mini-os/arch/x86/mm.c
--- a/extras/mini-os/arch/x86/mm.c      Wed Aug 01 12:55:10 2007 +0100
+++ b/extras/mini-os/arch/x86/mm.c      Thu Aug 02 09:02:08 2007 +0100
@@ -405,9 +405,9 @@ void *map_frames(unsigned long *f, unsig
 
 void arch_init_p2m(unsigned long max_pfn)
 {
-#define L1_P2M_SHIFT    10
-#define L2_P2M_SHIFT    20    
-#define L3_P2M_SHIFT    30    
+#define L1_P2M_SHIFT    9
+#define L2_P2M_SHIFT    18    
+#define L3_P2M_SHIFT    27    
 #define L1_P2M_ENTRIES  (1 << L1_P2M_SHIFT)    
 #define L2_P2M_ENTRIES  (1 << (L2_P2M_SHIFT - L1_P2M_SHIFT))    
 #define L3_P2M_ENTRIES  (1 << (L3_P2M_SHIFT - L2_P2M_SHIFT))    

_______________________________________________
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] [MINIOS] fix x86_64 p2m map and CFLAGS, Xen patchbot-unstable <=