summaryrefslogtreecommitdiff
path: root/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/or1k/include/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/or1k/include/rtems/score/cpu.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
index 39920bebc3..c14388a804 100644
--- a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
@@ -33,11 +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>
-#include <stdint.h>
-#include <stdio.h> /* for printk */
-#endif
/* conditional compilation parameters */
@@ -427,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(;;)
@@ -435,6 +429,8 @@ void _CPU_Context_Initialize(
#define CPU_USE_GENERIC_BITFIELD_CODE TRUE
+#define CPU_USE_LIBC_INIT_FINI_ARRAY TRUE
+
#endif /* ASM */
#define CPU_SIZEOF_POINTER 4