1
0
Fork 0
forked from len0rd/rockbox

Added CPU_COLDFIRE define - one step closer to iAudio-port

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Christian Gmeiner 2005-07-18 12:40:29 +00:00
parent f5df9cd81c
commit c6ff1f5eb5
30 changed files with 55 additions and 50 deletions

View file

@ -103,7 +103,7 @@ enum {
: /* %0 */ I_CONSTRAINT((char)(mask)), \
/* %1 */ "z"(address-GBR))
#elif CONFIG_CPU == MCF5249
#elif defined(CPU_COLDFIRE)
#define or_l(mask, address) \
asm \
("or.l %0,(%1)" \
@ -182,7 +182,7 @@ static inline unsigned long SWAB32(unsigned long value)
#define invalidate_icache()
#elif CONFIG_CPU == MCF5249
#elif defined(CPU_COLDFIRE)
#define HIGHEST_IRQ_LEVEL (7<<8)
static inline int set_irq_level(int level)
{