Commit | Line | Data |
---|---|---|
764d5be6 MM |
1 | #ifndef _AHBMALLOC_H |
2 | #define _AHBMALLOC_H | |
3 | ||
4 | #include <stdint.h> | |
5 | #include <stdlib.h> | |
6 | ||
7 | typedef enum { | |
8 | AHB_BANK_0, | |
9 | AHB_BANK_1, | |
10 | AHB_NUM_BANKS | |
11 | } BANK; | |
12 | ||
3077abb6 | 13 | void* ahbmalloc(size_t size, BANK bank) __attribute__ ((warning("deprecated, please use new (AHB0) blah(); or blah = AHB0.alloc(size);"))); |
303a5d46 | 14 | void ahbfree(void* ptr, size_t size); |
764d5be6 MM |
15 | |
16 | #endif /* _AHBMALLOC_H */ |