[rtems commit] or1k: Do not use printk() for _CPU_Fatal_halt()
Sebastian Huber
sebh at rtems.org
Wed Sep 23 05:35:19 UTC 2020
Module: rtems
Branch: master
Commit: 18fe650ad0cf2c81aeaeb7f35471da64634cab5b
Changeset: http://git.rtems.org/rtems/commit/?id=18fe650ad0cf2c81aeaeb7f35471da64634cab5b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Sep 23 07:33:27 2020 +0200
or1k: Do not use printk() for _CPU_Fatal_halt()
Debug output can be added to user-defined fatal error handlers.
---
cpukit/score/cpu/or1k/include/rtems/score/cpu.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
index 70a981d..c14388a 100644
--- a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
@@ -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(;;)
More information about the vc
mailing list