sim: unify sim-cpu usage
[deliverable/binutils-gdb.git] / sim / m68hc11 / sim-main.h
index be3fc3d8e8813377d7d4a65f6bc6cee938dfc4e4..9c0a1ed00fc2e16005376f535498d8e38b894860 100644 (file)
@@ -577,12 +577,6 @@ extern void m68hc11cpu_set_port (struct hw *me, sim_cpu *cpu,
 #define CIA_GET(CPU)      (cpu_get_pc (CPU))
 #define CIA_SET(CPU,VAL)  (cpu_set_pc ((CPU), (VAL)))
 
-#if (WITH_SMP)
-#define STATE_CPU(sd,n) ((sd)->cpu[n])
-#else
-#define STATE_CPU(sd,n) ((sd)->cpu[0])
-#endif
-
 struct sim_state {
   sim_cpu        *cpu[MAX_NR_PROCESSORS];
   device         *devices;
This page took 0.023966 seconds and 4 git commands to generate.