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-devel

Re: [Xen-devel] PAE patches / hypercall interface changes

To: "Christopher S. Aker" <caker@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] PAE patches / hypercall interface changes
From: Gerd Knorr <kraxel@xxxxxxx>
Date: 09 Jun 2005 11:40:29 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 09 Jun 2005 09:44:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050608181627.GB20591@bytesex>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: SUSE Labs, Berlin
References: <20050608152155.GB18819@bytesex> <000801c56c53$5bc723b0$0201a8c0@hawk> <20050608181627.GB20591@bytesex>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
Gerd Knorr <kraxel@xxxxxxx> writes:

> > (XEN) System RAM: 6143MB (6290476kB)
> > Not enough memory for frame table
> 
> I'll have a look tomorrow.

Here we go.

Boot allocator uses "unsigned long" for physical addresses and thus
doesn't work in PAE mode.  Fix below.  That patch could make it work
(or at least fail later in boot ;)

cheers,

  Gerd

==============================[ cut here ]==============================
--- xen.orig/common/page_alloc.c        2005-06-08 16:25:02.000000000 +0200
+++ xen/common/page_alloc.c     2005-06-09 11:37:29.000000000 +0200
@@ -148,7 +148,7 @@ unsigned long init_boot_allocator(unsign
     return bitmap_start + bitmap_size;
 }
 
-void init_boot_pages(unsigned long ps, unsigned long pe)
+void init_boot_pages(physaddr_t ps, physaddr_t pe)
 {
     unsigned long bad_pfn;
     char *p;
--- xen.orig/include/xen/mm.h   2005-06-08 16:25:02.000000000 +0200
+++ xen/include/xen/mm.h        2005-06-09 11:38:41.000000000 +0200
@@ -11,7 +11,7 @@ struct pfn_info;
 
 /* Boot-time allocator. Turns into generic allocator after bootstrap. */
 unsigned long init_boot_allocator(unsigned long bitmap_start);
-void init_boot_pages(unsigned long ps, unsigned long pe);
+void init_boot_pages(physaddr_t ps, physaddr_t pe);
 unsigned long alloc_boot_pages(unsigned long size, unsigned long align);
 void end_boot_allocator(void);
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel