aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-base.h')
-rw-r--r--sim/common/sim-base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h
index 054b2ba..8eae988 100644
--- a/sim/common/sim-base.h
+++ b/sim/common/sim-base.h
@@ -143,6 +143,10 @@ struct sim_state {
const char *target;
#define STATE_TARGET(sd) ((sd)->target)
+ /* List of machs available. */
+ const SIM_MACH * const *machs;
+#define STATE_MACHS(sd) ((sd)->machs)
+
/* In standalone simulator, this is the program's arguments passed
on the command line. */
char **prog_argv;