sim: cgen: invert sim_state storage for cgen ports

This commit is contained in:
Mike Frysinger
2016-01-21 21:13:06 -05:00
parent 85d93de3d8
commit e106fc358c
17 changed files with 49 additions and 74 deletions

View File

@@ -1,3 +1,7 @@
2021-05-17 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (struct sim_state): Delete.
2021-05-16 Mike Frysinger <vapier@gentoo.org>
* dv-m32r_cache.c, dv-m32r_uart.c: Replace config.h include with

View File

@@ -48,16 +48,6 @@ 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;
};
/* Misc. */
/* Catch address exceptions. */