mirror of
https://github.com/rvtr/ctr_eFuse.git
synced 2025-11-02 00:11:04 -04:00
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@1 ff987cc8-cf2f-4642-8568-d52cce064691
31 lines
554 B
C
31 lines
554 B
C
#ifndef _CR_ALLOC_H_
|
|
#define _CR_ALLOC_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
unsigned long cr_alloc_GetMaxFreeSize(void);
|
|
unsigned long cr_alloc_GetTotalFreeSize(void);
|
|
unsigned long cr_alloc_GetTotalAllocSize(int isHeadInclude);
|
|
|
|
void cr_mem_bufmgr_initialize(void);
|
|
int cr_mem_get_counter(void);
|
|
int cr_mem_get_counter2(void);
|
|
|
|
void *cr_mem_realloc(void *ptr, size_t size);
|
|
void *cr_mem_calloc(size_t nmemb, size_t size);
|
|
void cr_mem_free(void *ptr);
|
|
void *cr_mem_malloc(size_t size);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* _CR_ALLOC_H_ */
|