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,8 @@
2021-05-17 Mike Frysinger <vapier@gentoo.org>
* sim-main.h: Move or1k-opc.h include.
(struct sim_state): Delete.
2021-05-16 Mike Frysinger <vapier@gentoo.org>
* sim-main.h: Delete config.h include.

View File

@@ -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 */