@@ -164,11 +164,6 @@ void aarch64_cpu_dump_state(CPUState *cs, FILE *f,
}
}
-static inline int get_mem_index(DisasContext *s)
-{
- return arm_el_to_mmu_idx(s->current_pl);
-}
-
void gen_a64_set_pc_im(uint64_t val)
{
tcg_gen_movi_i64(cpu_pc, val);
@@ -52,6 +52,11 @@ static inline int arm_dc_feature(DisasContext *dc, int feature)
return (dc->features & (1ULL << feature)) != 0;
}
+static inline int get_mem_index(DisasContext *s)
+{
+ return arm_el_to_mmu_idx(s->current_pl);
+}
+
/* target-specific extra values for is_jmp */
/* These instructions trap after executing, so the A32/T32 decoder must
* defer them until after the conditional execution state has been updated.