summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/moxie/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/moxie/cpu.c')
-rw-r--r--cpukit/score/cpu/moxie/cpu.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/score/cpu/moxie/cpu.c b/cpukit/score/cpu/moxie/cpu.c
index 5522890c59..abebad9d29 100644
--- a/cpukit/score/cpu/moxie/cpu.c
+++ b/cpukit/score/cpu/moxie/cpu.c
@@ -17,7 +17,9 @@
#include "config.h"
#endif
+#include <rtems/score/cpuimpl.h>
#include <rtems/score/isr.h>
+#include <rtems/bspIo.h>
/* _CPU_Initialize
*
@@ -37,6 +39,18 @@ void _CPU_Initialize(void)
/* FP context initialization support goes here */
}
+void _CPU_Fatal_halt( uint32_t source, CPU_Uint32ptr error )
+{
+ ISR_Level level;
+
+ _CPU_ISR_Disable( level );
+ (void) level;
+
+ while ( true ) {
+ /* Do nothing */
+ }
+}
+
/*
* _CPU_ISR_Get_level
*