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

Re: [Xen-devel] Why we relocate xen location in __start_xen method?



On Fri, 7 Dec 2012, asad raza wrote:
> in ARM Archietecture.
> __start_xen ()
> 
>   ----->  setup_pagetables()
>             {
>                     /* Calculate virt-to-phys offset for the new location */
>                       phys_offset = xen_paddr - (unsigned long) _start;
> 
>                      /* Copy */
>                     memcpy((void *) dest_va, _start, _end - _start);
>             }

We relocate Xen to the top of RAM (and align to a XEN_PADDR_ALIGN
boundary) to free some precious low RAM and be independent from
the behaviour of the bootloader.
See xen/arch/arm/setup.c:get_xen_paddr.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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