Changed _CPU_Fatal_halt for Patmos

This commit is contained in:
afpr
2014-07-02 18:49:12 +01:00
parent c6abeac352
commit 6596ea561c

View File

@@ -632,7 +632,10 @@ uint32_t *shadow_stack_base
#define _CPU_Fatal_halt( _error ) \
do { \
asm volatile ( "call __exit \n\t" : : ); \
asm volatile ("mts $srb = $r0\n\t" \
"mts $sro = $r0\n\t" \
"ret\n\t" \
"nop\n\t nop\n\t nop\n\t" : :); \
} while (1)
/* end of Fatal Error manager macros */