|
[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
As agreed offline, we'll keep the patch and change the subject to 'Set
the default platform memory allocator'.
Costin
On 06/27/2018 05:37 PM, Yuri Volchkov wrote:
> 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
>>
>
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |