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.
This commit is contained in:
Joel Sherrill
2008-06-04 14:55:01 +00:00
parent 19fc33907f
commit 5a5bfea588
2 changed files with 7 additions and 1 deletions

View File

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

View File

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