sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]
[deliverable/binutils-gdb.git] / sim / bfin / machs.h
index 03729829926ac3e9d30c89ee37ae757158682ea4..36819ae6428aa717a3f185487c032900645a1d46 100644 (file)
 #ifndef _BFIN_MACHS_H_
 #define _BFIN_MACHS_H_
 
-typedef enum model_type {
-#define P(n) MODEL_BF##n,
-#include "proc_list.def"
-#undef P
-  MODEL_MAX
-} MODEL_TYPE;
-
-typedef enum mach_attr {
-  MACH_BASE,
-  MACH_BFIN,
-  MACH_MAX
-} MACH_ATTR;
-
 #define CPU_MODEL_NUM(cpu) MODEL_NUM (CPU_MODEL (cpu))
 
 /* XXX: Some of this probably belongs in CPU_MODEL.  */
@@ -46,13 +33,6 @@ void bfin_model_cpu_init (SIM_DESC, SIM_CPU *);
 bu32 bfin_model_get_chipid (SIM_DESC);
 bu32 bfin_model_get_dspid (SIM_DESC);
 
-enum {
-#define I(insn) BFIN_INSN_##insn,
-#include "insn_list.def"
-#undef I
-  BFIN_INSN_MAX
-};
-
 #define BFIN_COREMMR_CEC_BASE          0xFFE02100
 #define BFIN_COREMMR_CEC_SIZE          (4 * 5)
 #define BFIN_COREMMR_CTIMER_BASE       0xFFE03000
This page took 0.032166 seconds and 4 git commands to generate.