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] access shared_info?

On Fri, 2006-06-09 at 15:44 +0200, Gerd Hoffmann wrote:
> > 
> > Or just do this during normal setup, then it is the base e820 map.  I
> > believe it's already done isn't it?
> > 
> >             memmap.nr_entries = 1;
> >             map[0].addr = 0ULL;
> >             map[0].size = xen_start_info->nr_pages << PAGE_SHIFT;
> >             /* 8MB slack (to balance backend allocations). */
> >             map[0].size += 8 << 20;
> >             map[0].type = E820_RAM;
> 
> x86_64 only, seems there are quite some differences in e820 handling ...

The same code is in arch/x86_64/kernel/e820-xen.c and
include/asm-i386/mach-xen/setup_arch_post.h

The x86_64 code has diverged more from native than i386 in this area, it
would nice to reign it back in.

Ian.



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