Changeset 97c465c in rtems


Ignore:
Timestamp:
11/18/99 21:30:12 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
149f3f9
Parents:
4a238002
Message:

Minor cleanup to reduce the code space.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/sh/rtems/score/sh.h

    r4a238002 r97c465c  
    4141 
    4242#if defined(sh7032)
     43#define CPU_MODEL_NAME  "SH7032"
     44#define SH_HAS_FPU      0
    4345
    44 #define CPU_MODEL_NAME  "SH 7032"
     46#elif defined (sh7045)
     47#define CPU_MODEL_NAME  "SH7045"
    4548#define SH_HAS_FPU      0
     49
     50#else
     51#error "Unsupported CPU Model"
     52 
     53#endif
    4654
    4755/*
    4856 * If the following macro is set to 0 there will be no software irq stack
    4957 */
     58
     59#ifndef SH_HAS_SEPARATE_STACKS
    5060#define SH_HAS_SEPARATE_STACKS 1
    51 
    52 #elif defined (sh7045)
    53 
    54 #define CPU_MODEL_NAME  "SH 7045"
    55 #define SH_HAS_FPU      0
    56 
    57 /*
    58  * If the following macro is set to 0 there will be no software irq stack
    59  */
    60 #define SH_HAS_SEPARATE_STACKS 1
    61 
    62 #else
    63  
    64 #error "Unsupported CPU Model"
    65  
    6661#endif
    6762
  • cpukit/score/cpu/sh/rtems/score/sh.h

    r4a238002 r97c465c  
    4141 
    4242#if defined(sh7032)
     43#define CPU_MODEL_NAME  "SH7032"
     44#define SH_HAS_FPU      0
    4345
    44 #define CPU_MODEL_NAME  "SH 7032"
     46#elif defined (sh7045)
     47#define CPU_MODEL_NAME  "SH7045"
    4548#define SH_HAS_FPU      0
     49
     50#else
     51#error "Unsupported CPU Model"
     52 
     53#endif
    4654
    4755/*
    4856 * If the following macro is set to 0 there will be no software irq stack
    4957 */
     58
     59#ifndef SH_HAS_SEPARATE_STACKS
    5060#define SH_HAS_SEPARATE_STACKS 1
    51 
    52 #elif defined (sh7045)
    53 
    54 #define CPU_MODEL_NAME  "SH 7045"
    55 #define SH_HAS_FPU      0
    56 
    57 /*
    58  * If the following macro is set to 0 there will be no software irq stack
    59  */
    60 #define SH_HAS_SEPARATE_STACKS 1
    61 
    62 #else
    63  
    64 #error "Unsupported CPU Model"
    65  
    6661#endif
    6762
Note: See TracChangeset for help on using the changeset viewer.