mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
or1k: Do not use printk() for _CPU_Fatal_halt()
Debug output can be added to user-defined fatal error handlers.
This commit is contained in:
@@ -33,9 +33,6 @@ extern "C" {
|
||||
#include <rtems/score/or1k.h> /* pick up machine definitions */
|
||||
#include <rtems/score/or1k-utility.h>
|
||||
#include <rtems/score/basedefs.h>
|
||||
#ifndef ASM
|
||||
#include <rtems/bspIo.h>
|
||||
#endif
|
||||
|
||||
/* conditional compilation parameters */
|
||||
|
||||
@@ -425,7 +422,6 @@ void _CPU_Context_Initialize(
|
||||
#include <inttypes.h>
|
||||
|
||||
#define _CPU_Fatal_halt(_source, _error ) \
|
||||
printk("Fatal Error %d.%" PRId32 " Halted\n",_source, _error); \
|
||||
_OR1KSIM_CPU_Halt(); \
|
||||
for(;;)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user