summaryrefslogtreecommitdiff
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h
index 3fe01b4a98d..f3af30553a2 100644
--- a/sim/common/sim-base.h
+++ b/sim/common/sim-base.h
@@ -237,6 +237,11 @@ typedef struct {
#endif
+ /* Should image loads be performed using the LMA or VMA? Older
+ simulators use the VMA while newer simulators prefer the LMA. */
+ int load_at_lma_p;
+#define STATE_LOAD_AT_LMA_P(SD) ((SD)->base.load_at_lma_p)
+
/* Marker for those wanting to do sanity checks.
This should remain the last member of this struct to help catch
miscompilation errors. */