forked from Imagelibrary/rtems
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.
This commit is contained in:
committed by
Sebastian Huber
parent
e09f8b0808
commit
0facefc30f
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user