Changeset d946f95 in rtems


Ignore:
Timestamp:
Feb 9, 2005, 3:59:50 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
06ef44f5
Parents:
80df34a
Message:

2005-02-09 Ralf Corsepius <ralf.corsepius@…>

  • cpu.c, cpu_asm.S, irq_stub.S, rtems/score/ppc_offs.h: Remove PPC_ABI_GCC27.
Location:
c/src/lib
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/support/old_exception_processing/ChangeLog

    r80df34a rd946f95  
     12005-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * cpu.c, cpu_asm.S, irq_stub.S, rtems/score/ppc_offs.h:
     4        Remove PPC_ABI_GCC27.
     5
    162005-01-07      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.c

    r80df34a rd946f95  
    6666#if (PPC_ABI != PPC_ABI_POWEROPEN)
    6767  register uint32_t   r2 = 0;
    68 #if (PPC_ABI != PPC_ABI_GCC27)
    6968  register uint32_t   r13 = 0;
    7069
    7170  asm ("mr %0,13" : "=r" ((r13)) : "0" ((r13)));
    7271  _CPU_IRQ_info.Default_r13 = r13;
    73 #endif
    7472
    7573  asm ("mr %0,2" : "=r" ((r2)) : "0" ((r2)));
     
    357355void _CPU_Install_interrupt_stack( void )
    358356{
    359 #if (PPC_ABI == PPC_ABI_POWEROPEN || PPC_ABI == PPC_ABI_GCC27)
     357#if (PPC_ABI == PPC_ABI_POWEROPEN)
    360358  _CPU_IRQ_info.Stack = _CPU_Interrupt_stack_high - 56;
    361359#else
     
    413411const CPU_Trap_table_entry _CPU_Trap_slot_template = {
    414412
    415 #if (PPC_ABI == PPC_ABI_POWEROPEN || PPC_ABI == PPC_ABI_GCC27)
     413#if (PPC_ABI == PPC_ABI_POWEROPEN)
    416414#error " Vector install not tested."
    417415#if (PPC_HAS_FPU)
  • c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu_asm.S

    r80df34a rd946f95  
    571571
    572572/*  Individual interrupt prologues look like this:
    573  * #if (PPC_ABI == PPC_ABI_POWEROPEN || PPC_ABI == PPC_ABI_GCC27)
     573 * #if (PPC_ABI == PPC_ABI_POWEROPEN)
    574574 * #if (PPC_HAS_FPU)
    575575 *      stwu    r1, -(20*4 + 18*8 + IP_END)(r1)
  • c/src/lib/libbsp/powerpc/support/old_exception_processing/irq_stub.S

    r80df34a rd946f95  
    134134        mtlr    r6
    135135        lwz     r11,8(r4)
    136 #endif
    137 #if (PPC_ABI == PPC_ABI_GCC27)
    138         lwz     r2, Default_r2(r11)
    139         mtlr    r4
    140         #lwz    r2, 0(r2)
    141136#endif
    142137#if (PPC_ABI == PPC_ABI_SVR4 || PPC_ABI == PPC_ABI_EABI)
  • c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h

    r80df34a rd946f95  
    107107
    108108        .set    IP_LINK, 0
    109 #if (PPC_ABI == PPC_ABI_POWEROPEN || PPC_ABI == PPC_ABI_GCC27)
     109#if (PPC_ABI == PPC_ABI_POWEROPEN)
    110110        .set    IP_0, (IP_LINK + 56)
    111111#else
     
    154154#else
    155155        .set    Default_r2, 16
    156 #if (PPC_ABI != PPC_ABI_GCC27)
    157156        .set    Default_r13, 20
    158157        .set    Switch_necessary, 24
    159 #else
    160         .set    Switch_necessary, 20
    161 #endif
    162158#endif
    163159        .set    Signal, Switch_necessary + 4
  • c/src/lib/libcpu/powerpc/old-exceptions/ChangeLog

    r80df34a rd946f95  
     12005-02-09      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * cpu.c, cpu_asm.S, irq_stub.S, rtems/score/ppc_offs.h:
     4        Remove PPC_ABI_GCC27.
     5
    162005-01-07      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libcpu/powerpc/old-exceptions/cpu.c

    r80df34a rd946f95  
    6666#if (PPC_ABI != PPC_ABI_POWEROPEN)
    6767  register uint32_t   r2 = 0;
    68 #if (PPC_ABI != PPC_ABI_GCC27)
    6968  register uint32_t   r13 = 0;
    7069
    7170  asm ("mr %0,13" : "=r" ((r13)) : "0" ((r13)));
    7271  _CPU_IRQ_info.Default_r13 = r13;
    73 #endif
    7472
    7573  asm ("mr %0,2" : "=r" ((r2)) : "0" ((r2)));
     
    357355void _CPU_Install_interrupt_stack( void )
    358356{
    359 #if (PPC_ABI == PPC_ABI_POWEROPEN || PPC_ABI == PPC_ABI_GCC27)
     357#if (PPC_ABI == PPC_ABI_POWEROPEN)
    360358  _CPU_IRQ_info.Stack = _CPU_Interrupt_stack_high - 56;
    361359#else
     
    413411const CPU_Trap_table_entry _CPU_Trap_slot_template = {
    414412
    415 #if (PPC_ABI == PPC_ABI_POWEROPEN || PPC_ABI == PPC_ABI_GCC27)
     413#if (PPC_ABI == PPC_ABI_POWEROPEN)
    416414#error " Vector install not tested."
    417415#if (PPC_HAS_FPU)
  • c/src/lib/libcpu/powerpc/old-exceptions/cpu_asm.S

    r80df34a rd946f95  
    571571
    572572/*  Individual interrupt prologues look like this:
    573  * #if (PPC_ABI == PPC_ABI_POWEROPEN || PPC_ABI == PPC_ABI_GCC27)
     573 * #if (PPC_ABI == PPC_ABI_POWEROPEN)
    574574 * #if (PPC_HAS_FPU)
    575575 *      stwu    r1, -(20*4 + 18*8 + IP_END)(r1)
  • c/src/lib/libcpu/powerpc/old-exceptions/irq_stub.S

    r80df34a rd946f95  
    134134        mtlr    r6
    135135        lwz     r11,8(r4)
    136 #endif
    137 #if (PPC_ABI == PPC_ABI_GCC27)
    138         lwz     r2, Default_r2(r11)
    139         mtlr    r4
    140         #lwz    r2, 0(r2)
    141136#endif
    142137#if (PPC_ABI == PPC_ABI_SVR4 || PPC_ABI == PPC_ABI_EABI)
  • c/src/lib/libcpu/powerpc/old-exceptions/rtems/score/ppc_offs.h

    r80df34a rd946f95  
    107107
    108108        .set    IP_LINK, 0
    109 #if (PPC_ABI == PPC_ABI_POWEROPEN || PPC_ABI == PPC_ABI_GCC27)
     109#if (PPC_ABI == PPC_ABI_POWEROPEN)
    110110        .set    IP_0, (IP_LINK + 56)
    111111#else
     
    154154#else
    155155        .set    Default_r2, 16
    156 #if (PPC_ABI != PPC_ABI_GCC27)
    157156        .set    Default_r13, 20
    158157        .set    Switch_necessary, 24
    159 #else
    160         .set    Switch_necessary, 20
    161 #endif
    162158#endif
    163159        .set    Signal, Switch_necessary + 4
Note: See TracChangeset for help on using the changeset viewer.