Changeset 07c5976 in rtems


Ignore:
Timestamp:
Jun 7, 2018, 4:58:59 AM (11 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
5249a4c
Parents:
de9b7d7
git-author:
Sebastian Huber <sebastian.huber@…> (06/07/18 04:58:59)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/07/18 05:00:34)
Message:

bsps/powerpc: Hack to fix the build

The ppc405 define must be checked before the ppc403 define. The ppc405
define is provided by <bspopts.h>. The ppc403 define is provided by GCC
as a built-in define if no ppc* or mpc* define is set via the
command line (see GCC sources "gcc/config/rs6000/rtems.h").

Update #3425.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/include/rtems/powerpc/powerpc.h

    rde9b7d7 r07c5976  
    112112 */
    113113
    114 #if defined(ppc403)
     114/*
     115 * FIXME: The ppc405 define must be checked before the ppc403 define.  The
     116 * ppc405 define is provided by <bspopts.h>.  The ppc403 define is provided by
     117 * GCC as a built-in define if no ppc* or mpc* define is set via the
     118 * command line (see GCC sources "gcc/config/rs6000/rtems.h").
     119 */
     120#if defined(ppc405)
     121
     122#define PPC_CACHE_ALIGNMENT     32
     123#define PPC_HAS_RI           0
     124#define PPC_HAS_RFCI            1
     125#define PPC_USE_MULTIPLE        1
     126#define PPC_I_CACHE             16384
     127#define PPC_D_CACHE             16384           /* except GP/CR */
     128#define PPC_HAS_EXCEPTION_PREFIX 0
     129#define PPC_HAS_EVPR             1
     130
     131#elif defined(ppc403)
    115132/*
    116133 *  IBM 403
     
    128145#define PPC_D_CACHE             1024
    129146
    130 #define PPC_HAS_EXCEPTION_PREFIX 0
    131 #define PPC_HAS_EVPR             1
    132 
    133 #elif defined (ppc405)
    134 
    135 #define PPC_CACHE_ALIGNMENT     32
    136 #define PPC_HAS_RI           0
    137 #define PPC_HAS_RFCI            1
    138 #define PPC_USE_MULTIPLE        1
    139 #define PPC_I_CACHE             16384
    140 #define PPC_D_CACHE             16384           /* except GP/CR */
    141147#define PPC_HAS_EXCEPTION_PREFIX 0
    142148#define PPC_HAS_EVPR             1
Note: See TracChangeset for help on using the changeset viewer.