From cc043dc3d24e7ea5b17eb2e2930e6f7c1d7adde9 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 17 Feb 2005 04:23:18 +0000 Subject: 2005-02-17 Ralf Corsepius * 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. --- c/src/lib/libcpu/powerpc/new-exceptions/cpu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'c/src/lib/libcpu/powerpc/new-exceptions/cpu.c') diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c index 9e87acd5e0..8151ce15e9 100644 --- a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c +++ b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c @@ -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); -- cgit v1.2.3