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

Re: [Xen-devel] [PATCH v2 8/9] xen/arm: print the location of the Xen heap on 32 bit



On 09/13/2013 12:40 PM, Ian Campbell wrote:
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Reviewed-by: Julien Grall <julien.grall@xxxxxxxxxx>

> ---
>  xen/arch/arm/setup.c |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
> index 5a47bda..ffae16e 100644
> --- a/xen/arch/arm/setup.c
> +++ b/xen/arch/arm/setup.c
> @@ -407,8 +407,10 @@ static void __init setup_mm(unsigned long dtb_paddr, 
> size_t dtb_size)
>  
>      domheap_pages = heap_pages - xenheap_pages;
>  
> -    early_printk("Xen heap: %lu pages  Dom heap: %lu pages\n",
> -                 xenheap_pages, domheap_pages);
> +    early_printk("Xen heap: %"PRIpaddr"-%"PRIpaddr" (%lu pages)\n",
> +                 e - (xenheap_pages << PAGE_SHIFT), e,
> +                 xenheap_pages);
> +    early_printk("Dom heap: %lu pages\n", domheap_pages);
>  
>      setup_xenheap_mappings((e >> PAGE_SHIFT) - xenheap_pages, xenheap_pages);
>  
> 


-- 
Julien Grall

_______________________________________________
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®.