[PATCH] or1k: Let CPU/BSP Fatal handler have access to source
Hesham ALMatary
heshamelmatary at gmail.com
Wed Sep 10 13:08:52 UTC 2014
This patchs follows the latest commit by Daniel Hellstrom that
requires _CPU_Fatal_halt to have _source passed to it along with
_error number.
---
cpukit/score/cpu/or1k/rtems/score/cpu.h | 4 ++--
1 file 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 01e07a2..0be9bca 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 */
--
1.9.3
More information about the devel
mailing list