From d2456b44f73e6a1310d8dc2c98db92364b70e793 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 3 Jul 2005 14:05:12 +0000 Subject: 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 --- apps/codecs/lib/codeclib.h | 9 --------- apps/codecs/lib/xxx2wav.h | 9 +-------- 2 files changed, 1 insertion(+), 17 deletions(-) (limited to 'apps/codecs/lib') diff --git a/apps/codecs/lib/codeclib.h b/apps/codecs/lib/codeclib.h index 116f210..762b68d 100644 --- a/apps/codecs/lib/codeclib.h +++ b/apps/codecs/lib/codeclib.h @@ -22,15 +22,6 @@ /* Various codec "helper functions" */ -#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 - extern int mem_ptr; extern int bufsize; extern unsigned char* mallocbuf; // 512K from the start of MP3 buffer diff --git a/apps/codecs/lib/xxx2wav.h b/apps/codecs/lib/xxx2wav.h index 1fa7dc9..1cdbc99 100644 --- a/apps/codecs/lib/xxx2wav.h +++ b/apps/codecs/lib/xxx2wav.h @@ -19,14 +19,7 @@ /* Various "helper functions" common to all the xxx2wav decoder plugins */ -#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 "config.h" /* the main data structure of the program */ typedef struct { -- cgit v1.1