Merge pull request #854 from Smoothieware/fix/when-slow-ticker-is-started
[clinton/Smoothieware.git] / src / libs / ahbmalloc.h
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
13 void* ahbmalloc(size_t size, BANK bank) __attribute__ ((warning("deprecated, please use new (AHB0) blah(); or blah = AHB0.alloc(size);")));
14 void ahbfree(void* ptr, size_t size);
15
16 #endif /* _AHBMALLOC_H */