aboutsummaryrefslogtreecommitdiff
path: root/sim/or1k/sim-main.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-21 21:13:06 -0500
committerMike Frysinger <vapier@gentoo.org>2021-05-17 00:46:32 -0400
commite106fc358c217f8f1e09cfdd383f564178c8f5eb (patch)
tree58cfffc4d30435963e4d9ce7ce7c7ca77635ae63 /sim/or1k/sim-main.h
parent85d93de3d8e24b54516ece8ec95ab09e6786e102 (diff)
downloadfsf-binutils-gdb-e106fc358c217f8f1e09cfdd383f564178c8f5eb.zip
fsf-binutils-gdb-e106fc358c217f8f1e09cfdd383f564178c8f5eb.tar.gz
fsf-binutils-gdb-e106fc358c217f8f1e09cfdd383f564178c8f5eb.tar.bz2
sim: cgen: invert sim_state storage for cgen ports
Diffstat (limited to 'sim/or1k/sim-main.h')
-rw-r--r--sim/or1k/sim-main.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/sim/or1k/sim-main.h b/sim/or1k/sim-main.h
index f91a351..1727fe8 100644
--- a/sim/or1k/sim-main.h
+++ b/sim/or1k/sim-main.h
@@ -23,13 +23,13 @@
#include "ansidecl.h"
#include "or1k-desc.h"
+#include "or1k-opc.h"
#include "sim-basics.h"
#include "cgen-types.h"
#include "arch.h"
#include "sim-base.h"
#include "sim-fpu.h"
-#include "or1k-opc.h"
#include "cgen-sim.h"
#include "or1k-sim.h"
@@ -66,16 +66,4 @@ struct _sim_cpu
#endif
};
-
-
-/* The sim_state struct. */
-struct sim_state
-{
- sim_cpu *cpu[MAX_NR_PROCESSORS];
-
- CGEN_STATE cgen_state;
-
- sim_state_base base;
-};
-
#endif /* SIM_MAIN_H */