mirror of
https://github.com/t-crest/rtems.git
synced 2025-12-05 15:15:48 +00:00
Changed _CPU_Fatal_halt for Patmos
This commit is contained in:
@@ -632,7 +632,10 @@ uint32_t *shadow_stack_base
|
|||||||
|
|
||||||
#define _CPU_Fatal_halt( _error ) \
|
#define _CPU_Fatal_halt( _error ) \
|
||||||
do { \
|
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)
|
} while (1)
|
||||||
|
|
||||||
/* end of Fatal Error manager macros */
|
/* end of Fatal Error manager macros */
|
||||||
|
|||||||
Reference in New Issue
Block a user