[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 4/6] lib/ukboot: Set the default platform memory allocator
Reviewed-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |