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

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.