summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/spc.c2
-rw-r--r--apps/codecs/spc/spc_codec.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs/spc.c b/apps/codecs/spc.c
index 0a608dfa4a..948a05edd8 100644
--- a/apps/codecs/spc.c
+++ b/apps/codecs/spc.c
@@ -231,7 +231,7 @@ static struct
231 struct event emu_evt_reply; 231 struct event emu_evt_reply;
232 intptr_t retval; 232 intptr_t retval;
233 struct sample_queue_chunk wav_chunk[WAV_NUM_CHUNKS]; 233 struct sample_queue_chunk wav_chunk[WAV_NUM_CHUNKS];
234} sample_queue NOCACHEBSS_ATTR; 234} sample_queue SHAREDBSS_ATTR;
235 235
236static inline void samples_release_wrbuf(void) 236static inline void samples_release_wrbuf(void)
237{ 237{
diff --git a/apps/codecs/spc/spc_codec.h b/apps/codecs/spc/spc_codec.h
index a18aece645..f9127ef778 100644
--- a/apps/codecs/spc/spc_codec.h
+++ b/apps/codecs/spc/spc_codec.h
@@ -97,10 +97,10 @@
97#endif 97#endif
98 98
99#if SPC_DUAL_CORE 99#if SPC_DUAL_CORE
100 #undef NOCACHEBSS_ATTR 100 #undef SHAREDBSS_ATTR
101 #define NOCACHEBSS_ATTR __attribute__ ((section(".ibss"))) 101 #define SHAREDBSS_ATTR __attribute__ ((section(".ibss")))
102 #undef NOCACHEDATA_ATTR 102 #undef SHAREDDATA_ATTR
103 #define NOCACHEDATA_ATTR __attribute__((section(".idata"))) 103 #define SHAREDDATA_ATTR __attribute__((section(".idata")))
104#endif 104#endif
105#endif 105#endif
106 106