diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-05 21:17:11 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-05 21:17:11 +0000 |
commit | e8de5c718dd30e4fafba773a9348e3ef0d800a79 (patch) | |
tree | e9f198f35ac7cbfc8d12b198de3edf41817f33e4 /cpukit/score | |
parent | 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-e8de5c718dd30e4fafba773a9348e3ef0d800a79.tar.bz2 |
2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Lower number of priorities and do not inline as
much.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/avr/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/avr/rtems/score/cpu.h | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog index b44738fa1e..2bf5b96cfd 100644 --- a/cpukit/score/cpu/avr/ChangeLog +++ b/cpukit/score/cpu/avr/ChangeLog @@ -1,3 +1,8 @@ +2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> + + * rtems/score/cpu.h: Lower number of priorities and do not inline as + much. + 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com> * rtems/score/cpu.h: Lower minimum stack size to 512 and CPU alignment diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h index 11729c52bb..cd65eec97a 100644 --- a/cpukit/score/cpu/avr/rtems/score/cpu.h +++ b/cpukit/score/cpu/avr/rtems/score/cpu.h @@ -75,7 +75,7 @@ extern "C" { * XXX document implementation including references if appropriate */ -#define CPU_UNROLL_ENQUEUE_PRIORITY TRUE +#define CPU_UNROLL_ENQUEUE_PRIORITY FALSE /* * Does RTEMS manage a dedicated interrupt stack in software? @@ -534,6 +534,11 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_high; #define CPU_STACK_MINIMUM_SIZE 512 /* + * Maximum priority of a thread. Note based from 0 which is the idle task. + */ +#define CPU_PRIORITY_MAXIMUM 15 + +/* * CPU's worst alignment requirement for data types on a byte boundary. This * alignment does not take into account the requirements for the stack. * |