Made the IRAM usage depend on the CPU type.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6182 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-03-10 20:02:41 +00:00
parent 657fdf26f2
commit 81b51ebe58

View file

@ -73,7 +73,7 @@ void savestate(int fd);
#define mkdir(a,b) rb->mkdir((a),(b)) #define mkdir(a,b) rb->mkdir((a),(b))
#define open(a,b) rb->open((a),(b)) #define open(a,b) rb->open((a),(b))
#define lseek(a,b,c) rb->lseek((a),(b),(c)) #define lseek(a,b,c) rb->lseek((a),(b),(c))
#if CONFIG_KEYPAD == IRIVER_H100_PAD #if CONFIG_CPU == MCF5249 && !defined(SIMULATOR)
#define ICODE_ATTR __attribute__ ((section(".icode"))) #define ICODE_ATTR __attribute__ ((section(".icode")))
#define IDATA_ATTR __attribute__ ((section(".idata"))) #define IDATA_ATTR __attribute__ ((section(".idata")))
#define USE_IRAM 1 #define USE_IRAM 1