summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-07-27 11:03:38 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-07-27 11:03:38 +0000
commit4ac56fbbd17d0deae2181ea9c32372a22e663a57 (patch)
treea48cb6ae999a8ca1f20827456752946ef2b8923d /cpukit/score/cpu/h8300
parent2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-4ac56fbbd17d0deae2181ea9c32372a22e663a57.tar.bz2
2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Assembler compatibility fixes.
Diffstat (limited to 'cpukit/score/cpu/h8300')
-rw-r--r--cpukit/score/cpu/h8300/ChangeLog4
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h13
2 files changed, 14 insertions, 3 deletions
diff --git a/cpukit/score/cpu/h8300/ChangeLog b/cpukit/score/cpu/h8300/ChangeLog
index 38f8155012..3dff99e349 100644
--- a/cpukit/score/cpu/h8300/ChangeLog
+++ b/cpukit/score/cpu/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * rtems/score/cpu.h: Assembler compatibility fixes.
+
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Include <rtems/score/types.h> first.
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index 679058aeb2..75a73587d2 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -25,8 +25,9 @@ extern "C" {
#include <rtems/score/types.h>
#include <rtems/score/h8300.h>
-
-#include <rtems/bspIo.h> /* printk */
+#ifndef ASM
+ #include <rtems/bspIo.h>
+#endif
/* conditional compilation parameters */
@@ -388,7 +389,7 @@ extern "C" {
* XXX
*/
-
+#ifndef ASM
#define nogap __attribute__ ((packed))
@@ -452,6 +453,8 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
#define CPU_CONTEXT_FP_SIZE sizeof( Context_Control_fp )
+#endif /* ASM */
+
/*
* Amount of extra stack (above minimum stack size) required by
* system initialization thread. Remember that in a multiprocessor
@@ -701,6 +704,8 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
else asm volatile ( "andc #0x7f,ccr\n" ); \
}
+#ifndef ASM
+
uint32_t _CPU_ISR_Get_level( void );
/* end of ISR handler macros */
@@ -1132,6 +1137,8 @@ extern void H8BD_Install_IRQ(
proc_ptr new_handler,
proc_ptr *old_handler );
+#endif /* ASM */
+
#ifdef __cplusplus
}
#endif