summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/xxx2wav.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-03-10 20:02:08 +0000
committerJens Arnold <amiconn@rockbox.org>2005-03-10 20:02:08 +0000
commit657fdf26f298a7a01bf20140af1a2f5444b9d700 (patch)
treeede43783a45747b318608d649f4a425ecb8302fe /apps/plugins/lib/xxx2wav.h
parent64d3470541b76557dac7c6b35b15e821812b6f03 (diff)
downloadrockbox-657fdf26f298a7a01bf20140af1a2f5444b9d700.tar.gz
rockbox-657fdf26f298a7a01bf20140af1a2f5444b9d700.zip
Compile the simulators without special code & data sections. Fixes intermittent hangs/ crashes of mpa2wav.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6181 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/xxx2wav.h')
-rw-r--r--apps/plugins/lib/xxx2wav.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/lib/xxx2wav.h b/apps/plugins/lib/xxx2wav.h
index 2806eabf27..7e3afceaba 100644
--- a/apps/plugins/lib/xxx2wav.h
+++ b/apps/plugins/lib/xxx2wav.h
@@ -19,6 +19,15 @@
19 19
20/* Various "helper functions" common to all the xxx2wav decoder plugins */ 20/* Various "helper functions" common to all the xxx2wav decoder plugins */
21 21
22#if CONFIG_CPU == MCF5249 && !defined(SIMULATOR)
23#define ICODE_ATTR __attribute__ ((section(".icode")))
24#define IDATA_ATTR __attribute__ ((section(".idata")))
25#define USE_IRAM 1
26#else
27#define ICODE_ATTR
28#define IDATA_ATTR
29#endif
30
22/* the main data structure of the program */ 31/* the main data structure of the program */
23typedef struct { 32typedef struct {
24 int infile; 33 int infile;