2003-07-18 Till Straumann <strauman@slac.stanford.edu>

PR 288/rtems
	* rtems/new-exceptions/cpu.h: _ISR_Nest_level is now properly
	maintained and does not reside in SPRG0.
This commit is contained in:
Joel Sherrill
2003-07-18 17:23:40 +00:00
parent b997f52a40
commit 36e95a8703
2 changed files with 19 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2003-07-18 Till Straumann <strauman@slac.stanford.edu>
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 <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.

View File

@@ -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)