diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-03-10 20:02:08 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-03-10 20:02:08 +0000 |
| commit | 657fdf26f298a7a01bf20140af1a2f5444b9d700 (patch) | |
| tree | ede43783a45747b318608d649f4a425ecb8302fe /apps/codecs/codec.h | |
| parent | 64d3470541b76557dac7c6b35b15e821812b6f03 (diff) | |
| download | rockbox-657fdf26f298a7a01bf20140af1a2f5444b9d700.zip rockbox-657fdf26f298a7a01bf20140af1a2f5444b9d700.tar.gz rockbox-657fdf26f298a7a01bf20140af1a2f5444b9d700.tar.bz2 rockbox-657fdf26f298a7a01bf20140af1a2f5444b9d700.tar.xz | |
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/codecs/codec.h')
| -rw-r--r-- | apps/codecs/codec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/codecs/codec.h b/apps/codecs/codec.h index c00d2bd..3b6e779 100644 --- a/apps/codecs/codec.h +++ b/apps/codecs/codec.h @@ -21,6 +21,15 @@ #include "config.h" +#if CONFIG_CPU == MCF5249 && !defined(SIMULATOR) +#define ICODE_ATTR __attribute__ ((section(".icode"))) +#define IDATA_ATTR __attribute__ ((section(".idata"))) +#define USE_IRAM 1 +#else +#define ICODE_ATTR +#define IDATA_ATTR +#endif + #include <sys/types.h> /* Get these functions 'out of the way' of the standard functions. Not doing |