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

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


 


Rackspace

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