Remove i386_elf_emit_arch_note
[deliverable/binutils-gdb.git] / sim / msp430 / sim-main.h
index 9b2fdc90e919d5e6962fa7b1f3dfedc3553ab1d0..f08f3e41222678c608735d96186c2733e5ea3763 100644 (file)
 
 #include "sim-basics.h"
 #include "sim-signal.h"
-
-typedef unsigned32 sim_cia;
-
-typedef struct _sim_cpu SIM_CPU;
-
 #include "msp430-sim.h"
 #include "sim-base.h"
 
@@ -42,12 +37,6 @@ struct sim_state
 {
   sim_cpu *cpu[MAX_NR_PROCESSORS];
 
-#if (WITH_SMP)
-#error WITH_SMP not supported by MSP430 sim
-#else
-#define STATE_CPU(sd,n) ((sd)->cpu[0])
-#endif
-
   asymbol **symbol_table;
   long number_of_symbols;
 #define STATE_SYMBOL_TABLE(sd)   ((sd)->symbol_table)
@@ -60,14 +49,10 @@ struct sim_state
 #define MSP430_CPU(sd)       (STATE_CPU ((sd), 0))
 #define MSP430_CPU_STATE(sd) (MSP430_CPU ((sd)->state))
 
-#define CIA_GET(CPU)     ((CPU)->state.regs[0] + 0)
-#define CIA_SET(CPU,VAL) ((CPU)->state.regs[0] = (VAL))
-
 #include "sim-config.h"
 #include "sim-types.h"
 #include "sim-engine.h"
 #include "sim-options.h"
-#include "run-sim.h"
 
 #define MAYBE_TRACE(type, cpu, fmt, ...)                               \
   do                                                                   \
This page took 0.023889 seconds and 4 git commands to generate.