From 1ede24cc0142fadd041d60be2125cd51336c0e22 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 18 Jul 2003 17:25:02 +0000 Subject: 2003-07-18 Till Straumann PR 288/rtems * rtems/new-exceptions/cpu.h: _ISR_Nest_level is now properly maintained and does not reside in SPRG0. --- cpukit/score/cpu/powerpc/ChangeLog | 6 ++++++ cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h | 15 +++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/powerpc') diff --git a/cpukit/score/cpu/powerpc/ChangeLog b/cpukit/score/cpu/powerpc/ChangeLog index 744e94d5f8..11f2780778 100644 --- a/cpukit/score/cpu/powerpc/ChangeLog +++ b/cpukit/score/cpu/powerpc/ChangeLog @@ -1,3 +1,9 @@ +2003-07-18 Till Straumann + + PR 288/rtems + * rtems/new-exceptions/cpu.h: _ISR_Nest_level is now properly + maintained and does not reside in SPRG0. + 2003-03-06 Ralf Corsepius * configure.ac: Remove AC_CONFIG_AUX_DIR. diff --git a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h index bdb7ec8101..49348231bd 100644 --- a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h @@ -539,10 +539,12 @@ SCORE_EXTERN struct { /* * This is defined if the port has a special way to report the ISR nesting - * level. Most ports maintain the variable _ISR_Nest_level. + * level. Most ports maintain the variable _ISR_Nest_level. Note that + * this is not an option - RTEMS/score _relies_ on _ISR_Nest_level + * being maintained (e.g. watchdog queues). */ -#define CPU_PROVIDES_ISR_IS_IN_PROGRESS TRUE +#define CPU_PROVIDES_ISR_IS_IN_PROGRESS FALSE /* * Should be large enough to run all RTEMS tests. This insures @@ -830,8 +832,17 @@ extern const unsigned32 _CPU_msrs[4]; * _CPU_Initialize * * This routine performs CPU dependent initialization. + * + * Until all new-exception processing BSPs have fixed + * PR288, we let the good BSPs pass + * + * PPC_BSP_HAS_FIXED_PR288 + * + * in SPRG0 and let _CPU_Initialize assert this. */ +#define PPC_BSP_HAS_FIXED_PR288 0x600dbabe + void _CPU_Initialize( rtems_cpu_table *cpu_table, void (*thread_dispatch) -- cgit v1.2.3