]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/m68hc11/sim-main.h
Remove soft reg hack in the 68hc11 simulator
[thirdparty/binutils-gdb.git] / sim / m68hc11 / sim-main.h
index c5c42e4d49a3e2ea70cc9747cda9ca30dae2c0a3..6b2575c013e63771c2cf1b4f3d98e96864b4d564 100644 (file)
@@ -75,15 +75,6 @@ enum m68hc11_map_level
 #define B_REGNUM        6
 #define PSW_REGNUM     7
 #define Z_REGNUM        8
-#define FP_REGNUM       9
-#define TMP_REGNUM     10
-#define ZS_REGNUM      11
-#define XY_REGNUM      12
-#define ZD1_REGNUM     13
-#define ZD32_REGNUM    (ZD1_REGNUM+31)
-
-#define FIRST_SOFT_REGNUM (Z_REGNUM)
-#define MAX_SOFT_REG      (ZD32_REGNUM - Z_REGNUM + 1)
 
 typedef struct m6811_regs {
     unsigned short      d;
@@ -186,8 +177,6 @@ struct _sim_cpu {
   int                   cpu_elf_start;
   
   uint16                cpu_insn_pc;
-  unsigned short       cpu_nb_pseudo_regs;
-  uint16                cpu_page0_reg[MAX_SOFT_REG];
 
   /* CPU frequency.  This is the quartz frequency.  It is divided by 4 to
      get the cycle time.  This is used for the timer rate and for the baud
@@ -497,6 +486,8 @@ extern void sim_set_profile (int n);
 extern void sim_set_profile_size (int n);
 extern void sim_board_reset (SIM_DESC sd);
 
+extern const char *cycle_to_string (sim_cpu *cpu, signed64 t);
+
 #endif