forked from Imagelibrary/rtems
Fixed comments.
Fixed so this file can be included from assembly code.
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <rtems/score/m68k.h>
|
#include <rtems/score/m68k.h> /* pick up machine definitions */
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
#include <rtems/score/m68ktypes.h>
|
#include <rtems/score/m68ktypes.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -75,6 +75,7 @@ extern "C" {
|
|||||||
#define CPU_STACK_GROWS_UP FALSE
|
#define CPU_STACK_GROWS_UP FALSE
|
||||||
#define CPU_STRUCTURE_ALIGNMENT
|
#define CPU_STRUCTURE_ALIGNMENT
|
||||||
|
|
||||||
|
#ifndef ASM
|
||||||
/* structures */
|
/* structures */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -170,6 +171,7 @@ typedef struct {
|
|||||||
SCORE_EXTERN _CPU_ISR_handler_entry _CPU_ISR_jump_table[256];
|
SCORE_EXTERN _CPU_ISR_handler_entry _CPU_ISR_jump_table[256];
|
||||||
|
|
||||||
#endif /* M68K_HAS_VBR */
|
#endif /* M68K_HAS_VBR */
|
||||||
|
#endif /* ASM */
|
||||||
|
|
||||||
/* constants */
|
/* constants */
|
||||||
|
|
||||||
@@ -221,6 +223,8 @@ SCORE_EXTERN _CPU_ISR_handler_entry _CPU_ISR_jump_table[256];
|
|||||||
|
|
||||||
#define CPU_STACK_ALIGNMENT 0
|
#define CPU_STACK_ALIGNMENT 0
|
||||||
|
|
||||||
|
#ifndef ASM
|
||||||
|
|
||||||
/* macros */
|
/* macros */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -474,6 +478,7 @@ void _CPU_Context_restore_fp(
|
|||||||
void _CPU_Context_save_fp(
|
void _CPU_Context_save_fp(
|
||||||
void **fp_context_ptr
|
void **fp_context_ptr
|
||||||
);
|
);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user