forked from Imagelibrary/rtems
2001-01-12 Joel Sherrill <joel@OARcorp.com>
* r46xx/vectorisrs/vectorisrs.c (mips_get_cause): Corrected constraints from general to register. * tx39/vectorisrs/vectorisrs.c (mips_get_cause): Corrected constraints from general to register.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
#define mips_get_cause( _cause ) \
|
||||
do { \
|
||||
asm volatile( "mfc0 %0, $13; nop" : "=g" (_cause) : ); \
|
||||
asm volatile( "mfc0 %0, $13; nop" : "=r" (_cause) : ); \
|
||||
} while (0)
|
||||
|
||||
#define CALL_ISR(_vector) \
|
||||
|
||||
Reference in New Issue
Block a user