diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-04-19 13:22:31 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-04-30 11:16:50 +0100 |
commit | 3902bfc6f06144016b8b25f5b6fb2211e85406fc (patch) | |
tree | e450ea5f49be678d07ab3595763e8a1ea72a9dec /target/arm/translate-a64.c | |
parent | a729a46b05ab09e473cd757ee7a62373a175fa62 (diff) | |
download | qemu-3902bfc6f06144016b8b25f5b6fb2211e85406fc.zip qemu-3902bfc6f06144016b8b25f5b6fb2211e85406fc.tar.gz qemu-3902bfc6f06144016b8b25f5b6fb2211e85406fc.tar.bz2 |
target/arm: Introduce CPUARMTBFlags
In preparation for splitting tb->flags across multiple
fields, introduce a structure to hold the value(s).
So far this only migrates the one uint32_t and fixes
all of the places that require adjustment to match.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210419202257.161730-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/translate-a64.c')
-rw-r--r-- | target/arm/translate-a64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 05d83a5..b32ff56 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -14670,7 +14670,7 @@ static void aarch64_tr_init_disas_context(DisasContextBase *dcbase, DisasContext *dc = container_of(dcbase, DisasContext, base); CPUARMState *env = cpu->env_ptr; ARMCPU *arm_cpu = env_archcpu(env); - uint32_t tb_flags = dc->base.tb->flags; + CPUARMTBFlags tb_flags = arm_tbflags_from_tb(dc->base.tb); int bound, core_mmu_idx; dc->isar = &arm_cpu->isar; |