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:
parent
f5df9cd81c
commit
c6ff1f5eb5
30 changed files with 55 additions and 50 deletions
|
@ -43,7 +43,7 @@ void panicf( const char *fmt, ...)
|
|||
/* Disable interrupts */
|
||||
#if CONFIG_CPU == SH7034
|
||||
asm volatile ("ldc\t%0,sr" : : "r"(15<<4));
|
||||
#elif CONFIG_CPU == MCF5249
|
||||
#elif defined(CPU_COLDFIRE)
|
||||
asm volatile ("move.w #0x2700,%sr");
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue