summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/or1k
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2014-09-10 15:08:52 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-09-10 15:10:41 +0200
commit0facefc30f69e15dff7b68337ff74588695a1de1 (patch)
tree5c735412edb9a4599278e1a883ed0f61edf5b72b /cpukit/score/cpu/or1k
parentsptests/spfatal07: Fix end of test message (diff)
downloadrtems-0facefc30f69e15dff7b68337ff74588695a1de1.tar.bz2
or1k: Let CPU/BSP Fatal handler have access to source
This patchs follows the latest commit by Daniel Hellstrom that requires _CPU_Fatal_halt to have _source passed to it along with _error number.
Diffstat (limited to 'cpukit/score/cpu/or1k')
-rw-r--r--cpukit/score/cpu/or1k/rtems/score/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/or1k/rtems/score/cpu.h b/cpukit/score/cpu/or1k/rtems/score/cpu.h
index 01e07a2312..0be9bcae31 100644
--- a/cpukit/score/cpu/or1k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/rtems/score/cpu.h
@@ -721,8 +721,8 @@ void _CPU_Context_Initialize(
*
*/
-#define _CPU_Fatal_halt( _error ) \
- printk("Fatal Error %d Halted\n",_error); \
+#define _CPU_Fatal_halt(_source, _error ) \
+ printk("Fatal Error %d.%d Halted\n",_source, _error); \
for(;;)
/* end of Fatal Error manager macros */