aboutsummaryrefslogtreecommitdiff
path: root/sim/mcore
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mcore')
-rw-r--r--sim/mcore/ChangeLog5
-rw-r--r--sim/mcore/sim-main.h9
2 files changed, 7 insertions, 7 deletions
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index 7e70804..7a5453f 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-17 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+ (struct sim_state): Delete.
+
2021-05-16 Mike Frysinger <vapier@gentoo.org>
* interp.c: Replace config.h include with defs.h.
diff --git a/sim/mcore/sim-main.h b/sim/mcore/sim-main.h
index dc749b7..bfa28d0 100644
--- a/sim/mcore/sim-main.h
+++ b/sim/mcore/sim-main.h
@@ -19,6 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef SIM_MAIN_H
#define SIM_MAIN_H
+#define SIM_HAVE_COMMON_SIM_STATE
+
#include "sim-basics.h"
typedef long int word;
@@ -68,12 +70,5 @@ struct _sim_cpu {
sim_cpu_base base;
};
-struct sim_state {
-
- sim_cpu *cpu[MAX_NR_PROCESSORS];
-
- sim_state_base base;
-};
-
#endif