Satisfy allocation as fast as possible. No support for free().
Refer to help in ukallocregion for more information.
+ config LIBUKBOOT_INITMIMALLOC
+ bool "Mimalloc"
+ depends on LIBMIMALLOC_INCLUDED
+ select LIBMIMALLOC
+
config LIBUKBOOT_INITTLSF
bool "TLSF"
depends on LIBTLSF_INCLUDED
#include <uk/allocbbuddy.h>
#elif CONFIG_LIBUKBOOT_INITREGION
#include <uk/allocregion.h>
+#elif CONFIG_LIBUKBOOT_INITMIMALLOC
+#include <uk/mimalloc.h>
#elif CONFIG_LIBUKBOOT_INITTLSF
#include <uk/tlsf.h>
#endif
a = uk_allocbbuddy_init(md.base, md.len);
#elif CONFIG_LIBUKBOOT_INITREGION
a = uk_allocregion_init(md.base, md.len);
+#elif CONFIG_LIBUKBOOT_INITMIMALLOC
+ a = uk_mimalloc_init(md.base, md.len);
#elif CONFIG_LIBUKBOOT_INITTLSF
a = uk_tlsf_init(md.base, md.len);
#endif