mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
sim: cgen: invert sim_state storage for cgen ports
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user