Reapply "Release candidate"

This reverts commit 67aa927108.
This commit is contained in:
GearsProgress
2026-03-09 12:09:57 -04:00
parent 95c6af63e4
commit 12f710dafc
14 changed files with 980 additions and 59 deletions

View File

@@ -201,6 +201,9 @@ void malloc_init_default_pool(void)
memset(g_alloc_map, 0, sizeof(g_alloc_map)); // Clear bitmap
}
extern "C"
{
/// @brief The custom implementation of the bitmap allocator described at the top of this module.
void* malloc(size_t size)
{
@@ -333,6 +336,8 @@ void _free_r(struct _reent *r, void* ptr) {
return free(ptr);
}
}
#else
void malloc_init_default_pool(void)