#define USING_SIM_BASE_H
struct _sim_cpu;
typedef struct _sim_cpu SIM_CPU;
#include "symcat.h"
#include "sim-basics.h"
#include "cgen-types.h"
#include "i960-desc.h"
#include "i960-opc.h"
#include "arch.h"
typedef USI sim_cia;
#define CIA_GET(cpu) 0
#define CIA_SET(cpu,val) 0
#define SIM_ENGINE_HALT_HOOK(SD, LAST_CPU, CIA)
#define SIM_ENGINE_RESTART_HOOK(SD, LAST_CPU, CIA)
#include "sim-base.h"
#include "cgen-sim.h"
#include "i960-sim.h"
struct _sim_cpu {
sim_cpu_base base;
CGEN_CPU cgen_cpu;
#if defined (WANT_CPU_I960BASE)
I960BASE_CPU_DATA cpu_data;
#endif
};
struct sim_state {
sim_cpu *cpu;
#define STATE_CPU(sd, n) ( (sd)->cpu)
CGEN_STATE cgen_state;
sim_state_base base;
};
extern SIM_CORE_SIGNAL_FN i960_core_signal;
#define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \
i960_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), \
(TRANSFER), (ERROR))
#define I960_DEFAULT_MEM_START 0xa0008000
#define I960_DEFAULT_MEM_SIZE 0x800000