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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user