Ignore:
Timestamp:
06/12/00 15:56:32 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
380b2231
Parents:
19c6e495
Message:

Added i960KA support in anticipation is i960 gdb simulator BSP.

File:
1 edited

Legend:

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

    r19c6e495 rc243c49  
    3434 */
    3535
    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
     36#if defined(i960gdbsim)
     37
     38#define CPU_MODEL_NAME  "i960gdbsim"
     39#define __RTEMS_I960KA__
     40
     41#elif defined(__i960KA__) || defined(__i960_KA__) || defined(__i960KA)
     42
     43#define CPU_MODEL_NAME  "i960ka"
     44#define __RTEMS_I960KA__
    4645
    4746#elif defined(__i960CA__) || defined(__i960_CA__) || defined(__i960CA)
     
    305304typedef i960rp_PRCB i960_PRCB;
    306305
     306#elif defined(__RTEMS_I960KA__)
     307
     308typedef struct {
     309  int fixme;
     310}   i960ka_control_table;
     311
     312typedef struct {
     313  void           **intr_tbl;      /* interrupt table base address */
     314  unsigned int    *intr_stack;    /* interrupt stack pointer */
     315  int fixme;
     316}   i960ka_PRCB;
     317
     318typedef i960ka_control_table i960_control_table;
     319typedef i960ka_PRCB i960_PRCB;
    307320#else
    308321#error "invalid processor selection!"
Note: See TracChangeset for help on using the changeset viewer.