diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-04 14:55:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-04 14:55:01 +0000 |
commit | 5a5bfea5881ebf39d21152ccf690b70226c9e4b3 (patch) | |
tree | 2bb38d9069501ff1c4b89477e1449f7a205d3246 /cpukit/score | |
parent | Add hack to adjust n/ncr260vt300wpp (diff) | |
download | rtems-5a5bfea5881ebf39d21152ccf690b70226c9e4b3.tar.bz2 |
2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Use a constant for CPU_STACK_MINIMUM_SIZE so it
can be used in cpp expressions. Using sizeof() requires actually
compiling the file.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/mips/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/cpu.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog index cbacb142da..da56fd86ea 100644 --- a/cpukit/score/cpu/mips/ChangeLog +++ b/cpukit/score/cpu/mips/ChangeLog @@ -1,3 +1,9 @@ +2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * rtems/score/cpu.h: Use a constant for CPU_STACK_MINIMUM_SIZE so it + can be used in cpp expressions. Using sizeof() requires actually + compiling the file. + 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com> * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility. diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h index 8c9a24fdc0..863866fc3d 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/rtems/score/cpu.h @@ -673,7 +673,7 @@ extern unsigned int mips_interrupt_number_of_vectors; * that a "reasonable" small application should not have any problems. */ -#define CPU_STACK_MINIMUM_SIZE (2048*sizeof(uint32_t)) +#define CPU_STACK_MINIMUM_SIZE (8 * 1024) /* |