diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2024-12-10 16:04:44 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-12-13 15:41:09 +0000 |
commit | d6b6da1fc84173d1d8e8777c487c21ffeab5f5ce (patch) | |
tree | 287b5655368e4cbcf82690aa10c393f6080f2fe8 /module-common.c | |
parent | 1e32ee23cdc5405a5b575286bbfa705d78da410c (diff) | |
download | qemu-d6b6da1fc84173d1d8e8777c487c21ffeab5f5ce.zip qemu-d6b6da1fc84173d1d8e8777c487c21ffeab5f5ce.tar.gz qemu-d6b6da1fc84173d1d8e8777c487c21ffeab5f5ce.tar.bz2 |
target/arm: Move TLBI insns for AArch32 EL2 to tlbi_insn_helper.c
Move the AArch32 TLBI insns for AArch32 EL2 to tlbi_insn_helper.c.
To keep this as an obviously pure code-movement, we retain the
same condition for registering tlbi_el2_cp_reginfo that we use for
el2_cp_reginfo. We'll be able to simplify this condition later,
since the need to define the reginfo for EL3-without-EL2 doesn't
apply for the TLBI ops specifically.
This move brings all the uses of tlbimva_hyp_write() and
tlbimva_hyp_is_write() back into a single file, so we can move those
also, and make them file-local again.
The helper alle1_tlbmask() is an exception to the pattern that we
only need to make these functions global temporarily, because once
this refactoring is complete it will be called by both code in
helper.c (vttbr_write()) and by code in tlb-insns.c. We therefore
put its prototype in a permanent home in internals.h.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20241210160452.2427965-3-peter.maydell@linaro.org
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions