Changeset 3d852ab in rtems


Ignore:
Timestamp:
Feb 10, 2005, 3:22:07 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
50269c46
Parents:
abeac668
Message:

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

  • rtems/asm.h, rtems/old-exceptions/cpu.h, rtems/score/powerpc.h: Remove PPC_ABI_POWEROPEN.
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/rtems/powerpc/powerpc.h

    rabeac668 r3d852ab  
    296296 *
    297297 *  PPC_ABI MUST be defined as one of these.
    298  *  Only PPC_ABI_POWEROPEN is currently fully supported.
    299  *  Only EABI will be supported in the end when
    300  *  the tools are there.
    301298 *  Only big endian is currently supported.
    302299 */
    303 /*
    304  *  PowerOpen ABI.  This is Andy's hack of the
    305  *  PowerOpen ABI to ELF.  ELF rather than a
    306  *  XCOFF assembler is used.
    307  */
    308 #define PPC_ABI_POWEROPEN       0
    309300/*
    310301 *  SVR4 ABI
     
    324315#endif
    325316
    326 #if (PPC_ABI == PPC_ABI_POWEROPEN)
    327 #define PPC_STACK_ALIGNMENT     8
    328 #elif (PPC_ABI == PPC_ABI_SVR4)
     317#if (PPC_ABI == PPC_ABI_SVR4)
    329318#define PPC_STACK_ALIGNMENT     16
    330319#elif (PPC_ABI == PPC_ABI_EABI)
    331320#define PPC_STACK_ALIGNMENT     8
    332321#else
    333 #error  "PPC_ABI is not properly defined"
    334 #endif
    335 #ifndef PPC_ABI
    336322#error  "PPC_ABI is not properly defined"
    337323#endif
  • cpukit/score/cpu/powerpc/ChangeLog

    rabeac668 r3d852ab  
     12005-02-10      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * rtems/asm.h, rtems/old-exceptions/cpu.h, rtems/score/powerpc.h:
     4        Remove PPC_ABI_POWEROPEN.
     5
    162005-02-10      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • cpukit/score/cpu/powerpc/rtems/asm.h

    rabeac668 r3d852ab  
    5959#ifndef __FLOAT_REGISTER_PREFIX__
    6060#define __FLOAT_REGISTER_PREFIX__  __REGISTER_PREFIX__
    61 #endif
    62 
    63 #if (PPC_ABI == PPC_ABI_POWEROPEN)
    64 #ifndef __PROC_LABEL_PREFIX__
    65 #define __PROC_LABEL_PREFIX__ .
    66 #endif
    6761#endif
    6862
  • cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h

    rabeac668 r3d852ab  
    373373typedef struct CPU_Interrupt_frame {
    374374    uint32_t   stacklink;       /* Ensure this is a real frame (also reg1 save) */
    375 #if (PPC_ABI == PPC_ABI_POWEROPEN)
    376     uint32_t   dummy[13];       /* Used by callees: PowerOpen ABI */
    377 #else
    378375    uint32_t   dummy[1];        /* Used by callees: SVR4/EABI */
    379 #endif
     376
    380377    /* This is what is left out of the primary contexts */
    381378    uint32_t   gpr0;
     
    571568  void *Vector_table;
    572569  void *Stack;
    573 #if (PPC_ABI == PPC_ABI_POWEROPEN)
    574   uint32_t   Dispatch_r2;
    575 #else
    576570  uint32_t   Default_r2;
    577571  uint32_t   Default_r13;
    578 #endif
    579572  volatile boolean *Switch_necessary;
    580573  boolean *Signal;
  • cpukit/score/cpu/powerpc/rtems/score/powerpc.h

    rabeac668 r3d852ab  
    296296 *
    297297 *  PPC_ABI MUST be defined as one of these.
    298  *  Only PPC_ABI_POWEROPEN is currently fully supported.
    299  *  Only EABI will be supported in the end when
    300  *  the tools are there.
    301298 *  Only big endian is currently supported.
    302299 */
    303 /*
    304  *  PowerOpen ABI.  This is Andy's hack of the
    305  *  PowerOpen ABI to ELF.  ELF rather than a
    306  *  XCOFF assembler is used.
    307  */
    308 #define PPC_ABI_POWEROPEN       0
    309300/*
    310301 *  SVR4 ABI
     
    324315#endif
    325316
    326 #if (PPC_ABI == PPC_ABI_POWEROPEN)
    327 #define PPC_STACK_ALIGNMENT     8
    328 #elif (PPC_ABI == PPC_ABI_SVR4)
     317#if (PPC_ABI == PPC_ABI_SVR4)
    329318#define PPC_STACK_ALIGNMENT     16
    330319#elif (PPC_ABI == PPC_ABI_EABI)
    331320#define PPC_STACK_ALIGNMENT     8
    332321#else
    333 #error  "PPC_ABI is not properly defined"
    334 #endif
    335 #ifndef PPC_ABI
    336322#error  "PPC_ABI is not properly defined"
    337323#endif
Note: See TracChangeset for help on using the changeset viewer.