Changeset cc043dc in rtems
- Timestamp:
- 02/17/05 04:23:18 (18 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 2195ccf3
- Parents:
- b4f43549
- Location:
- c/src/lib/libcpu/powerpc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/powerpc/ChangeLog
rb4f43549 rcc043dc 1 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org> 2 3 * new-exceptions/cpu.c, rtems/powerpc/powerpc.h: 4 Remove CPU_MINIMUM_STACK_FRAME_SIZE. 5 Use PPC_MINIMUM_STACK_FRAME_SIZE instead. 6 * rtems/powerpc/powerpc.h: Add PPC_MINIMUM_STACK_FRAME_SIZE. 7 1 8 2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org> 2 9 -
c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
rb4f43549 rcc043dc 66 66 */ 67 67 68 /* PPC_ABI_SVR4 or PPC_ABI_EABI */69 #define CPU_MINIMUM_STACK_FRAME_SIZE 870 71 68 void _CPU_Context_Initialize( 72 69 Context_Control *the_context, … … 81 78 uint32_t sp; 82 79 83 sp = (uint32_t)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;80 sp = (uint32_t)stack_base + size - PPC_MINIMUM_STACK_FRAME_SIZE; 84 81 85 82 sp &= ~(CPU_STACK_ALIGNMENT-1); -
c/src/lib/libcpu/powerpc/old-exceptions/cpu.c
rb4f43549 rcc043dc 221 221 */ 222 222 223 /* PPC_ABI_SVR4 or PPC_ABI_EABI */224 #define CPU_MINIMUM_STACK_FRAME_SIZE 8225 226 223 void _CPU_Context_Initialize( 227 224 Context_Control *the_context, … … 236 233 uint32_t sp; 237 234 238 sp = (uint32_t)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;235 sp = (uint32_t)stack_base + size - PPC_MINIMUM_STACK_FRAME_SIZE; 239 236 *((uint32_t*)sp) = 0; 240 237 the_context->gpr1 = sp; -
c/src/lib/libcpu/powerpc/rtems/powerpc/powerpc.h
rb4f43549 rcc043dc 702 702 #define PPC_INIT_FPSCR 0x000000f8 703 703 704 705 #define PPC_MINIMUM_STACK_FRAME_SIZE PPC_STACK_ALIGNMENT 706 704 707 #ifdef __cplusplus 705 708 }
Note: See TracChangeset
for help on using the changeset viewer.