Changeset c8dcdf54 in rtems


Ignore:
Timestamp:
May 9, 2018, 8:22:04 PM (13 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
c4f5cc54
Parents:
85602e0d
Message:

sparc64 niagara, usiii: Remove -D options from cfg file and move to bspopts.h

Updates #3425.

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • bsps/sparc64/include/arch/arch.h

    r85602e0d rc8dcdf54  
    3838#define KERN_sparc64_ARCH_H_
    3939
     40#include <bspopts.h>
     41
    4042#if defined (SUN4U)
    4143#include <arch/sun4u/arch.h>
    4244#elif defined (SUN4V)
    4345#include <arch/sun4v/arch.h>
     46#else
     47#error "No SUN model defined"
    4448#endif
    4549
  • bsps/sparc64/include/arch/mm/frame.h

    r85602e0d rc8dcdf54  
    3636#define KERN_sparc64_FRAME_H_
    3737
     38#include <bspopts.h>
     39
    3840#if defined (SUN4U)
    3941#include <arch/mm/sun4u/frame.h>
    4042#elif defined (SUN4V)
    4143#include <arch/mm/sun4v/frame.h>
     44#else
     45#error "No SUN model defined"
    4246#endif
    4347
  • bsps/sparc64/include/arch/mm/mmu.h

    r85602e0d rc8dcdf54  
    3636#define KERN_sparc64_MMU_H_
    3737
     38#include <bspopts.h>
     39
    3840#if defined (SUN4U)
    3941#include <arch/mm/sun4u/mmu.h>
    4042#elif defined (SUN4V)
    4143#include <arch/mm/sun4v/mmu.h>
     44#else
     45#error "No SUN model defined"
    4246#endif
    4347
  • bsps/sparc64/include/arch/mm/tlb.h

    r85602e0d rc8dcdf54  
    3636#define KERN_sparc64_TLB_H_
    3737
     38#include <bspopts.h>
    3839
    3940#if defined (SUN4U)
     
    4142#elif defined (SUN4V)
    4243#include <arch/mm/sun4v/tlb.h>
     44#else
     45#error "No SUN model defined"
    4346#endif
    4447
  • bsps/sparc64/include/arch/mm/tte.h

    r85602e0d rc8dcdf54  
    3636#define KERN_sparc64_TTE_H_
    3737
     38#include <bspopts.h>
     39
    3840#if defined (SUN4U)
    3941#include <arch/mm/sun4u/tte.h>
    4042#elif defined (SUN4V)
    4143#include <arch/mm/sun4v/tte.h>
     44#else
     45#error "No SUN model defined"
    4246#endif
    4347
  • bsps/sparc64/niagara/config/niagara.cfg

    r85602e0d rc8dcdf54  
    88#  This contains the compiler options necessary to select the CPU model
    99#  and (hopefully) optimize for it.
    10 CPU_CFLAGS = -mcpu=niagara -DSUN4V
     10CPU_CFLAGS = -mcpu=niagara
    1111
    1212# optimize flag: typically -g -O2
  • bsps/sparc64/usiii/config/usiii.cfg

    r85602e0d rc8dcdf54  
    88#  This contains the compiler options necessary to select the CPU model
    99#  and (hopefully) optimize for it.
    10 CPU_CFLAGS = -mcpu=ultrasparc3 -DUS3 -DSUN4U
     10CPU_CFLAGS = -mcpu=ultrasparc3
    1111
    1212# optimize flag: typically -g -O2
  • c/src/lib/libbsp/sparc64/niagara/configure.ac

    r85602e0d rc8dcdf54  
    1111RTEMS_BSP_CONFIGURE
    1212
     13RTEMS_BSPOPTS_SET([SUN4V],[niagara],[1])
     14RTEMS_BSPOPTS_SET([SUN4V],[*],[])
     15RTEMS_BSPOPTS_HELP([SUN4V],
     16[If defined, enable SUN model optons for the Niagara model.])
    1317
    1418RTEMS_BSP_CLEANUP_OPTIONS
  • c/src/lib/libbsp/sparc64/usiii/configure.ac

    r85602e0d rc8dcdf54  
    1111RTEMS_BSP_CONFIGURE
    1212
    13 
    1413RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[])
    1514RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE],
     
    1817the wall time required to execute the RTEMS test suites.])
    1918
     19RTEMS_BSPOPTS_SET([US3],[usiii],[1])
     20RTEMS_BSPOPTS_SET([US3],[*],[])
     21RTEMS_BSPOPTS_HELP([US3],
     22[If defined, enable UltraSPARC optons for the USIII BSP.])
     23
     24RTEMS_BSPOPTS_SET([SUN4U],[usiii],[1])
     25RTEMS_BSPOPTS_SET([SUN4U],[*],[])
     26RTEMS_BSPOPTS_HELP([SUN4U],
     27[If defined, enable SUN model optons for the USIII BSP.])
    2028
    2129RTEMS_BSP_CLEANUP_OPTIONS
Note: See TracChangeset for help on using the changeset viewer.