diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/cpu/no_cpu/no_cpu.h | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/c/src/exec/score/cpu/no_cpu/no_cpu.h b/c/src/exec/score/cpu/no_cpu/no_cpu.h index ec973dadcf..465c45f7b0 100644 --- a/c/src/exec/score/cpu/no_cpu/no_cpu.h +++ b/c/src/exec/score/cpu/no_cpu/no_cpu.h @@ -1,4 +1,7 @@ -/* +/* no_cpu.h + * + * This file is an example (i.e. "no CPU") of the file which is + * created for each CPU family port of RTEMS. * * * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. @@ -26,9 +29,21 @@ extern "C" { * with the name of the appropriate macro for this target CPU. */ +#ifdef no_cpu +#undef no_cpu +#endif #define no_cpu + +#ifdef REPLACE_THIS_WITH_THE_CPU_MODEL +#undef REPLACE_THIS_WITH_THE_CPU_MODEL +#endif #define REPLACE_THIS_WITH_THE_CPU_MODEL +#ifdef REPLACE_THIS_WITH_THE_BSP +#undef REPLACE_THIS_WITH_THE_BSP +#endif +#define REPLACE_THIS_WITH_THE_BSP + /* * This file contains the information required to build * RTEMS for a particular member of the "no cpu" @@ -55,29 +70,6 @@ extern "C" { #define CPU_NAME "NO CPU" -/* - * This section defines the basic types for this processor. - */ - -typedef unsigned char unsigned8; /* 8-bit unsigned integer */ -typedef unsigned short unsigned16; /* 16-bit unsigned integer */ -typedef unsigned int unsigned32; /* 32-bit unsigned integer */ -typedef unsigned long long unsigned64; /* 64-bit unsigned integer */ - -typedef unsigned16 Priority_Bit_map_control; - -typedef char signed8; /* 8-bit signed integer */ -typedef short signed16; /* 16-bit signed integer */ -typedef int signed32; /* 32-bit signed integer */ -typedef long long signed64; /* 64-bit signed integer */ - -typedef unsigned32 boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - -typedef void ( *no_cpu_isr_entry )( void ); - #ifdef __cplusplus } #endif |