mirror of
https://github.com/drasko/codezero.git
synced 2026-02-26 16:53:14 +01:00
Some more progress on resource management and boot up.
This commit is contained in:
@@ -30,6 +30,7 @@ struct mem_cache {
|
||||
unsigned int *bitmap;
|
||||
};
|
||||
|
||||
int mem_cache_bufsize(void *start, int struct_size, int nstructs, int aligned);
|
||||
void *mem_cache_zalloc(struct mem_cache *cache);
|
||||
void *mem_cache_alloc(struct mem_cache *cache);
|
||||
int mem_cache_free(struct mem_cache *cache, void *addr);
|
||||
|
||||
Reference in New Issue
Block a user