Michael Spencer / Smoothie

Dependencies:   mbed

Fork of Smoothie by Stéphane Cachat

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ahbmalloc.h Source File

ahbmalloc.h

00001 #ifndef _AHBMALLOC_H
00002 #define _AHBMALLOC_H
00003 
00004 #include <stdint.h>
00005 #include <stdlib.h>
00006 
00007 typedef enum {
00008     AHB_BANK_0,
00009     AHB_BANK_1,
00010     AHB_NUM_BANKS
00011 } BANK;
00012 
00013 void* ahbmalloc(size_t size, BANK bank) __attribute__ ((warning("deprecated, please use new (AHB0) blah(); or blah = AHB0.alloc(size);")));
00014 void ahbfree(void* ptr, size_t size);
00015 
00016 #endif /* _AHBMALLOC_H */