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

Re: [Minios-devel] [UNIKRAFT PATCH 4/6] lib/ukboot: Setting the platform memory allocator



I would propose to squash this patch with the previous one

Costin Lupu <costin.lupu@xxxxxxxxx> writes:

> Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
> ---
>  lib/ukboot/boot.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/lib/ukboot/boot.c b/lib/ukboot/boot.c
> index d7214fe..93f3371 100644
> --- a/lib/ukboot/boot.c
> +++ b/lib/ukboot/boot.c
> @@ -227,6 +227,11 @@ void ukplat_entry(int argc, char *argv[])
>       }
>       if (unlikely(!a))
>               uk_printd(DLVL_WARN, "No suitable memory region for memory 
> allocator. Continue without heap\n");
> +     else {
> +             rc = ukplat_memallocator_set(a);
> +             if (unlikely(rc != 0))
> +                     UK_CRASH("Could not set the platform memory 
> allocator.");
> +     }
>  #endif
>  
>  #if CONFIG_LIBUKALLOC
> -- 
> 2.11.0
>

-- 
Yuri Volchkov
Software Specialist

NEC Europe Ltd
Kurfürsten-Anlage 36
D-69115 Heidelberg

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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