Ignore:
Timestamp:
05/28/00 20:14:45 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
75061954
Parents:
63cf252f
Message:

Added a special CPU model of "rtems_multilib". This is the beginnings
of an experiment to determine what it will take to multilib most of
RTEMS per GNU multilib conventions. It is thought that only
interrupt processing and IO are not multlib-able. This means that
a BSP Kit should include IRQ processing from score/cpu, all peripheral
support (header files from score/cpu, libchip, and libcpu), and the
BSPs themselves. The rest of RTEMS should be multlib-able. But to do
this, all RTEMS CPU model feature flags must be derivable from gcc
cpp predefines. By configuring the bare bsp with the rtems_multilib
CPU model, you can try any combination of CPU CFLAGS and see well how the
logic in that section of the <CPU>.h works. Once all CPU multilib
variations can be built, then RTEMS proper can be multilib'ed and
separated from the BSPs.

File:
1 edited

Legend:

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

    r63cf252f ra3f5b6b  
    3434 */
    3535
    36 #if defined(__i960CA__) || defined(__i960_CA__) || defined(__i960CA)
     36#if defined(rtems_multilib)
     37/*
     38 *  Figure out all CPU Model Feature Flags based upon compiler
     39 *  predefines.
     40 */
     41
     42#define CPU_MODEL_NAME  "rtems_multilib"
     43#define I960_HAS_FPU 0
     44#define I960_CPU_ALIGNMENT 4
     45#define I960_SOFT_RESET_COMMAND 0x30000
     46
     47#elif defined(__i960CA__) || defined(__i960_CA__) || defined(__i960CA)
    3748
    3849#define CPU_MODEL_NAME  "i960ca"
Note: See TracChangeset for help on using the changeset viewer.