Changeset cc043dc in rtems


Ignore:
Timestamp:
Feb 17, 2005, 4:23:18 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2195ccf3
Parents:
b4f43549
Message:

2005-02-17 Ralf Corsepius <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.
Location:
c/src/lib/libcpu/powerpc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    rb4f43549 rcc043dc  
     12005-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
    182005-02-15      Ralf Corsepius <ralf.corsepius@rtems.org>
    29
  • c/src/lib/libcpu/powerpc/new-exceptions/cpu.c

    rb4f43549 rcc043dc  
    6666 */
    6767
    68 /* PPC_ABI_SVR4 or PPC_ABI_EABI */
    69 #define CPU_MINIMUM_STACK_FRAME_SIZE 8
    70 
    7168void _CPU_Context_Initialize(
    7269  Context_Control  *the_context,
     
    8178  uint32_t   sp;
    8279
    83   sp = (uint32_t)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;
     80  sp = (uint32_t)stack_base + size - PPC_MINIMUM_STACK_FRAME_SIZE;
    8481
    8582  sp &= ~(CPU_STACK_ALIGNMENT-1);
  • c/src/lib/libcpu/powerpc/old-exceptions/cpu.c

    rb4f43549 rcc043dc  
    221221 */
    222222
    223 /* PPC_ABI_SVR4 or PPC_ABI_EABI */
    224 #define CPU_MINIMUM_STACK_FRAME_SIZE 8
    225 
    226223void _CPU_Context_Initialize(
    227224  Context_Control  *the_context,
     
    236233  uint32_t   sp;
    237234
    238   sp = (uint32_t)stack_base + size - CPU_MINIMUM_STACK_FRAME_SIZE;
     235  sp = (uint32_t)stack_base + size - PPC_MINIMUM_STACK_FRAME_SIZE;
    239236  *((uint32_t*)sp) = 0;
    240237  the_context->gpr1 = sp;
  • c/src/lib/libcpu/powerpc/rtems/powerpc/powerpc.h

    rb4f43549 rcc043dc  
    702702#define PPC_INIT_FPSCR          0x000000f8
    703703
     704
     705#define PPC_MINIMUM_STACK_FRAME_SIZE PPC_STACK_ALIGNMENT
     706
    704707#ifdef __cplusplus
    705708}
Note: See TracChangeset for help on using the changeset viewer.