]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Allow use of upper 32 bits of TBFLAG_A64
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jan 2024 14:43:46 +0000 (14:43 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jan 2024 14:43:46 +0000 (14:43 +0000)
commit29a15a61679dd35d8e2f4ea2c5fca77e476324db
tree66d5295f6c6fc24730dcb10a797a305ea1a247b7
parentb9377d1c5f366e3c914fb32ca13a2178ea901b2d
target/arm: Allow use of upper 32 bits of TBFLAG_A64

The TBFLAG_A64 TB flag bits go in flags2, which for AArch64 guests
we know is 64 bits. However at the moment we use FIELD_EX32() and
FIELD_DP32() to read and write these bits, which only works for
bits 0 to 31. Since we're about to add a flag that uses bit 32,
switch to FIELD_EX64() and FIELD_DP64() so that this will work.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Miguel Luis <miguel.luis@oracle.com>
target/arm/cpu.h