forked from len0rd/rockbox
Restore musepack's IRAM configuration to pre r25127 for non PP5022/24.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25133 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
86dc6c1204
commit
c82cac4c3d
2 changed files with 11 additions and 5 deletions
|
@ -52,18 +52,24 @@ extern "C" {
|
|||
#define IBSS_ATTR_MPC_LARGE_IRAM IBSS_ATTR
|
||||
#define ICODE_ATTR_MPC_LARGE_IRAM
|
||||
#define ICONST_ATTR_MPC_LARGE_IRAM ICONST_ATTR
|
||||
/* Keep the data arrays of bitsreadr.c in IRAM. */
|
||||
#define ICONST_ATTR_MPC_BITSREADER ICONST_ATTR
|
||||
|
||||
#elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
|
||||
/* Enough IRAM to move additional data and code to it. */
|
||||
#define IBSS_ATTR_MPC_LARGE_IRAM IBSS_ATTR
|
||||
#define ICODE_ATTR_MPC_LARGE_IRAM ICODE_ATTR
|
||||
#define ICONST_ATTR_MPC_LARGE_IRAM ICONST_ATTR
|
||||
/* Not putting the data arrays of bitsreader.c to IRAM allows to move the
|
||||
* sv7/sv8 bitstream demuxing into IRAM. This config is faster. */
|
||||
#define ICONST_ATTR_MPC_BITSREADER
|
||||
|
||||
#else
|
||||
/* Not enough IRAM available. */
|
||||
#define IBSS_ATTR_MPC_LARGE_IRAM
|
||||
#define ICODE_ATTR_MPC_LARGE_IRAM
|
||||
#define ICONST_ATTR_MPC_LARGE_IRAM
|
||||
#define ICONST_ATTR_MPC_BITSREADER
|
||||
#endif
|
||||
|
||||
enum {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue