summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-29 00:09:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-29 00:09:49 +0000
commit860e77a42f94260e2dee275cd5e98517809c5944 (patch)
tree956e672d9690dfff507ea8b0985b6210c64c6c15 /c
parentAdded comment. (diff)
downloadrtems-860e77a42f94260e2dee275cd5e98517809c5944.tar.bz2
Fixed comments.
Fixed so this file can be included from assembly code.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/score/cpu/m68k/cpu.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/m68k/cpu.h b/c/src/exec/score/cpu/m68k/cpu.h
index 4eb2dfe48d..1cd1b73c37 100644
--- a/c/src/exec/score/cpu/m68k/cpu.h
+++ b/c/src/exec/score/cpu/m68k/cpu.h
@@ -21,7 +21,7 @@
extern "C" {
#endif
-#include <rtems/score/m68k.h>
+#include <rtems/score/m68k.h> /* pick up machine definitions */
#ifndef ASM
#include <rtems/score/m68ktypes.h>
#endif
@@ -75,6 +75,7 @@ extern "C" {
#define CPU_STACK_GROWS_UP FALSE
#define CPU_STRUCTURE_ALIGNMENT
+#ifndef ASM
/* structures */
/*
@@ -170,6 +171,7 @@ typedef struct {
SCORE_EXTERN _CPU_ISR_handler_entry _CPU_ISR_jump_table[256];
#endif /* M68K_HAS_VBR */
+#endif /* ASM */
/* constants */
@@ -221,6 +223,8 @@ SCORE_EXTERN _CPU_ISR_handler_entry _CPU_ISR_jump_table[256];
#define CPU_STACK_ALIGNMENT 0
+#ifndef ASM
+
/* macros */
/*
@@ -474,6 +478,7 @@ void _CPU_Context_restore_fp(
void _CPU_Context_save_fp(
void **fp_context_ptr
);
+#endif
#ifdef __cplusplus
}