Centralize location of memory pools

This commit centralizes the location of memory pools and adds an
associated script (scripts/get_memory_map.sh) to read the memory map.
This commit is contained in:
Rickey Fehr
2025-10-17 16:55:09 -07:00
parent 72c0a6c4a9
commit 06cd13a17f
9 changed files with 70 additions and 36 deletions
+7
View File
@@ -34,3 +34,10 @@ int pool_bm_get_free_idx(PoolBitmap *bm)
return -1;
}
#define POOL_ENTRY(name, capacity) \
POOL_DEFINE_TYPE(name, capacity);
#include "sprite.h"
#include "pools.def"
#undef POOL_ENTRY