diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-14 23:08:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-14 23:08:04 +0000 |
commit | 8e0738e1e643041794c633e76135235d83d9bf9a (patch) | |
tree | ba45f962bdd13a330beebcbb3592e1d8ac1c1560 /cpukit/score/cpu/m68k/rtems/score/cpu.h | |
parent | 2002-08-14 Greg Menke <gregory.menke@gsfc.nasa.gov> (diff) | |
download | rtems-8e0738e1e643041794c633e76135235d83d9bf9a.tar.bz2 |
2002-08-14 Brett Swimley <brett.swimley@aedinc.net>
* cpu_asm.S: Per PR267, the _ISR_Handler() function never was modifying
_ISR_Nest_level, and _Watchdog_Insert() requires this variable
to be modified to determine if an interrupt may have modified
the watchdog chain. Prior to modifying _ISR_Handler(), I had
a test that would fail if _ISR_Flash was not commented out in
_Watchdog_Insert(). After this modification was made, my test
ran flawlessly.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/m68k/rtems/score/cpu.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h index d988b4e4eb..8d4b46608e 100644 --- a/cpukit/score/cpu/m68k/rtems/score/cpu.h +++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h @@ -84,7 +84,7 @@ extern "C" { #define CPU_IDLE_TASK_IS_FP FALSE #define CPU_USE_DEFERRED_FP_SWITCH TRUE -#define CPU_PROVIDES_IDLE_THREAD_BODY FALSE +#define CPU_PROVIDES_IDLE_THREAD_BODY TRUE #define CPU_STACK_GROWS_UP FALSE #define CPU_STRUCTURE_ALIGNMENT @@ -417,6 +417,17 @@ unsigned32 _CPU_ISR_Get_level( void ); /* end of Context handler macros */ /* + * _CPU_Thread_Idle_body + * + * This routine is the CPU dependent IDLE thread body. + * + * NOTE: It need only be provided if CPU_PROVIDES_IDLE_THREAD_BODY + * is TRUE. + */ + +void _CPU_Thread_Idle_body( void ); + +/* * Fatal Error manager macros * * These macros perform the following functions: |