summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/or1k/rtems/score/cpu.h
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2015-04-02 14:11:26 +0100
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-04-02 10:01:50 -0500
commit1c8466165c25970f8336ed3ef11b32009dc238ba (patch)
tree7bcf7e23e7d463c47711a77653680b0e5ca06fac /cpukit/score/cpu/or1k/rtems/score/cpu.h
parentbsp/altera-cyclone-v: Fix define usage (diff)
downloadrtems-1c8466165c25970f8336ed3ef11b32009dc238ba.tar.bz2
or1k: Send halt signal to or1k simulators when rtems terminates
Diffstat (limited to 'cpukit/score/cpu/or1k/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/or1k/rtems/score/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/cpu/or1k/rtems/score/cpu.h b/cpukit/score/cpu/or1k/rtems/score/cpu.h
index 45aeb08a3c..21cbb6d5ce 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); \
+ _OR1KSIM_CPU_Halt(); \
for(;;)
/* end of Fatal Error manager macros */