]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Replace TARGET_PAGE_ENTRY_EXTRA
authorAnton Johansson <anjo@rev.ng>
Tue, 12 Sep 2023 15:34:18 +0000 (17:34 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Oct 2023 15:01:02 +0000 (08:01 -0700)
commita81fef4b6440046e21e3531329e1e21f58645c76
tree3f53235a814c5a382ffb620e168ece4ed3eb2f77
parent23af78b070ebfc0bfa8f114796a2eb9b5ed31e92
target/arm: Replace TARGET_PAGE_ENTRY_EXTRA

TARGET_PAGE_ENTRY_EXTRA is a macro that allows guests to specify additional
fields for caching with the full TLB entry.  This macro is replaced with
a union in CPUTLBEntryFull, thus making CPUTLB target-agnostic at the
cost of slightly inflated CPUTLBEntryFull for non-arm guests.

Note, this is needed to ensure that fields in CPUTLB don't vary in
offset between various targets.

(arm is the only guest actually making use of this feature.)

Signed-off-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230912153428.17816-2-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/cpu-defs.h
target/arm/cpu-param.h
target/arm/ptw.c
target/arm/tcg/mte_helper.c
target/arm/tcg/sve_helper.c
target/arm/tcg/tlb_helper.c
target/arm/tcg/translate-a64.c