From 5ff641fb8153e0a935317cca4330ca5ea4826c5a Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 29 Jun 2011 09:39:13 +0000 Subject: Do some adjustments to alleviate IRAM congestion on some targets from r30097. Include removing pointless IRAM declarations in pcmbuf.c because that callback code runs at a fairly relaxed pace. M5 is still the biggest problem. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30100 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/pcm_mixer.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'firmware/export') diff --git a/firmware/export/pcm_mixer.h b/firmware/export/pcm_mixer.h index 3b420e1320..f430ce0efe 100644 --- a/firmware/export/pcm_mixer.h +++ b/firmware/export/pcm_mixer.h @@ -37,12 +37,18 @@ #if defined(CPU_COLDFIRE) || defined(CPU_PP) /* For Coldfire, it's just faster For PortalPlayer, this also avoids more expensive cache coherency */ -#define DOWNMIX_BUF_IBSS IBSS_ATTR +#define DOWNMIX_BUF_IBSS IBSS_ATTR #else /* Otherwise can't DMA from IRAM, IRAM is pointless or worse */ #define DOWNMIX_BUF_IBSS #endif +#if defined(CPU_COLDFIRE) || defined(CPU_PP) +#define MIXER_CALLBACK_ICODE ICODE_ATTR +#else +#define MIXER_CALLBACK_ICODE +#endif + /** Definitions **/ -- cgit v1.2.3