diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-04 11:30:20 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-03-04 11:30:20 +0000 |
commit | dacf0a2ff7d39ab12bd90f2f5496a3889facd54a (patch) | |
tree | ff37020225b860825099eacafb98aa99aa054bc0 /target-arm/translate.h | |
parent | 12dcc3217dc86b7dccee293b2f6e3fa4f7b014ae (diff) |
target-arm: introduce disas flag for endianness
Introduce a disas flag for setting the CPU data endianness. This allows
control of the endianness from the CPU state rather than hard-coding it
to TARGET_WORDS_BIGENDIAN.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[ PC changes:
* Split off as new patch from original:
"target-arm: introduce tbflag for CPSR.E"
* Wrote commit message from scratch
]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/translate.h')
-rw-r--r-- | target-arm/translate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/translate.h b/target-arm/translate.h index 54452322c9..6a18d7badc 100644 --- a/target-arm/translate.h +++ b/target-arm/translate.h @@ -17,6 +17,7 @@ typedef struct DisasContext { int singlestep_enabled; int thumb; int sctlr_b; + TCGMemOp be_data; #if !defined(CONFIG_USER_ONLY) int user; #endif |