Re: [Xen-devel] [PATCH v5 06/25] xen/arm: introduce bootcmdlines

2018-10-26 Thread Stefano Stabellini
On Fri, 26 Oct 2018, Julien Grall wrote: > Hi Stefano, > > On 10/23/18 3:02 AM, Stefano Stabellini wrote: > > @@ -314,12 +312,12 @@ static void __init early_print_info(void) > >mi->bank[i].start + mi->bank[i].size - 1); > > printk("\n"); > > for ( i = 0 ; i < mo

Re: [Xen-devel] [PATCH v5 06/25] xen/arm: introduce bootcmdlines

2018-10-26 Thread Julien Grall
Hi Stefano, On 10/23/18 3:02 AM, Stefano Stabellini wrote: @@ -314,12 +312,12 @@ static void __init early_print_info(void) mi->bank[i].start + mi->bank[i].size - 1); printk("\n"); for ( i = 0 ; i < mods->nr_mods; i++ ) -printk("MODULE[%d]: %"PRIpaddr" -

[Xen-devel] [PATCH v5 06/25] xen/arm: introduce bootcmdlines

2018-10-22 Thread Stefano Stabellini
Introduce a new array to store the cmdline of each boot module. It is separate from struct bootmodules. Remove the cmdline field from struct boot_module. This way, kernels and initrds with the same address in memory can share struct bootmodule (important because we want them to be free'd only once)