summaryrefslogtreecommitdiff
path: root/firmware
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 /firmware
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 'firmware')
-rw-r--r--firmware/export/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 61c9899762..7de52c6e66 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -112,4 +112,16 @@
112#define CODEC_SIZE 0 112#define CODEC_SIZE 0
113#endif 113#endif
114 114
115/* IRAM usage */
116#if !defined(SIMULATOR) && /* Not for simulators */ \
117 (((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \
118 (CONFIG_CPU == MCF5249)) /* Coldfire: core, plugins, codecs */
119#define ICODE_ATTR __attribute__ ((section(".icode")))
120#define IDATA_ATTR __attribute__ ((section(".idata")))
121#define USE_IRAM
122#else
123#define ICODE_ATTR
124#define IDATA_ATTR
125#endif
126
115#endif 127#endif