2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>

* new-exceptions/cpu.c, rtems/powerpc/powerpc.h:
	Remove CPU_MINIMUM_STACK_FRAME_SIZE.
	Use PPC_MINIMUM_STACK_FRAME_SIZE instead.
	* rtems/powerpc/powerpc.h: Add PPC_MINIMUM_STACK_FRAME_SIZE.
This commit is contained in:
Ralf Corsepius
2005-02-17 04:23:18 +00:00
parent b4f43549b9
commit cc043dc3d2
4 changed files with 12 additions and 8 deletions

View File

@@ -65,9 +65,6 @@ void _CPU_Initialize(
* _CPU_Context_Initialize
*/
/* PPC_ABI_SVR4 or PPC_ABI_EABI */
#define CPU_MINIMUM_STACK_FRAME_SIZE 8
void _CPU_Context_Initialize(
Context_Control *the_context,
uint32_t *stack_base,
@@ -80,7 +77,7 @@ void _CPU_Context_Initialize(
uint32_t msr_value;
uint32_t sp;
sp = (uint32_t)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;
sp = (uint32_t)stack_base + size - PPC_MINIMUM_STACK_FRAME_SIZE;
sp &= ~(CPU_STACK_ALIGNMENT-1);