summaryrefslogtreecommitdiff
path: root/apps/codecs/lib/codeclib.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-03 14:05:12 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-03 14:05:12 +0000
commitd2456b44f73e6a1310d8dc2c98db92364b70e793 (patch)
tree5f6a7ff48924ebb9b35dd57775c4538d3388d136 /apps/codecs/lib/codeclib.h
parentd50ed1248de6f347e928bae349c3393696a0383f (diff)
downloadrockbox-d2456b44f73e6a1310d8dc2c98db92364b70e793.tar.gz
rockbox-d2456b44f73e6a1310d8dc2c98db92364b70e793.zip
Centralised the ICODE_ATTR and IDATA_ATTR #defines. Renamed some musepack and rockboy headers to avoid clashes with rockbox headers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6991 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/codeclib.h')
-rw-r--r--apps/codecs/lib/codeclib.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/codecs/lib/codeclib.h b/apps/codecs/lib/codeclib.h
index 116f210c5f..762b68dd95 100644
--- a/apps/codecs/lib/codeclib.h
+++ b/apps/codecs/lib/codeclib.h
@@ -22,15 +22,6 @@
22 22
23/* Various codec "helper functions" */ 23/* Various codec "helper functions" */
24 24
25#if CONFIG_CPU == MCF5249 && !defined(SIMULATOR)
26#define ICODE_ATTR __attribute__ ((section(".icode")))
27#define IDATA_ATTR __attribute__ ((section(".idata")))
28#define USE_IRAM 1
29#else
30#define ICODE_ATTR
31#define IDATA_ATTR
32#endif
33
34extern int mem_ptr; 25extern int mem_ptr;
35extern int bufsize; 26extern int bufsize;
36extern unsigned char* mallocbuf; // 512K from the start of MP3 buffer 27extern unsigned char* mallocbuf; // 512K from the start of MP3 buffer