diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-05 16:44:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-05 16:44:02 +0000 |
commit | 458bd343e24cda7169c75f079705979891c9abc1 (patch) | |
tree | a9e584c28211674b28d1e37aec005e0e3a25afa1 /c/src/exec/score/cpu/no_cpu/rtems/score | |
parent | Eliminated references to stack checker related #defines. (diff) | |
download | rtems-458bd343e24cda7169c75f079705979891c9abc1.tar.bz2 |
This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP. On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.
A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.
This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves. This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Diffstat (limited to 'c/src/exec/score/cpu/no_cpu/rtems/score')
-rw-r--r-- | c/src/exec/score/cpu/no_cpu/rtems/score/cpu.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/no_cpu/rtems/score/cpu.h b/c/src/exec/score/cpu/no_cpu/rtems/score/cpu.h index ea18fe2cf3..9bd8c2b045 100644 --- a/c/src/exec/score/cpu/no_cpu/rtems/score/cpu.h +++ b/c/src/exec/score/cpu/no_cpu/rtems/score/cpu.h @@ -360,10 +360,20 @@ typedef struct { void (*stack_free_hook)( void* ); /* end of fields required on all CPUs */ - unsigned32 some_other_cpu_dependent_info; } rtems_cpu_table; /* + * Macros to access required entires in the CPU Table are in + * the file rtems/system.h. + */ + +/* + * Macros to access NO_CPU specific additions to the CPU Table + */ + +/* There are no CPU specific additions to the CPU Table for this port. */ + +/* * This variable is optional. It is used on CPUs on which it is difficult * to generate an "uninitialized" FP context. It is filled in by * _CPU_Initialize and copied into the task's FP context area during |