[PATCH] or1k: Send halt signal to or1k simulators when rtems terminates
Hesham ALMatary
heshamelmatary at gmail.com
Thu Apr 2 12:47:57 UTC 2015
---
cpukit/score/cpu/or1k/rtems/score/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpukit/score/cpu/or1k/rtems/score/cpu.h b/cpukit/score/cpu/or1k/rtems/score/cpu.h
index 45aeb08..56a034d 100644
--- a/cpukit/score/cpu/or1k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/rtems/score/cpu.h
@@ -702,6 +702,7 @@ void _CPU_Context_Initialize(
#define _CPU_Fatal_halt(_source, _error ) \
printk("Fatal Error %d.%d Halted\n",_source, _error); \
+ asm volatile ("l.nop 0xc"); \
for(;;)
/* end of Fatal Error manager macros */
--
2.1.0
More information about the devel
mailing list