Fork of Smoothie to port to mbed non-LPC targets.
Fork of Smoothie by
libs/ahbmalloc.h
- Committer:
- Bigcheese
- Date:
- 2014-03-02
- Revision:
- 3:f151d08d335c
- Parent:
- 2:1df0b61d3b5a
File content as of revision 3:f151d08d335c:
#ifndef _AHBMALLOC_H #define _AHBMALLOC_H #include <stdint.h> #include <stdlib.h> typedef enum { AHB_BANK_0, AHB_BANK_1, AHB_NUM_BANKS } BANK; void* ahbmalloc(size_t size, BANK bank) __attribute__ ((warning("deprecated, please use new (AHB0) blah(); or blah = AHB0.alloc(size);"))); void ahbfree(void* ptr, size_t size); #endif /* _AHBMALLOC_H */