diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-03-14 17:28:32 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-05-22 12:38:54 -0400 |
commit | 108b3ba891408c4dce93df78261ec4aca38c0e2e (patch) | |
tree | 6d2b4b3ea1bfd13acceb2853088ba20febea94f5 /target/arm/cpu.h | |
parent | e8196d2111d2eb060a42feadef119de3aadae4f6 (diff) | |
download | qemu-108b3ba891408c4dce93df78261ec4aca38c0e2e.zip qemu-108b3ba891408c4dce93df78261ec4aca38c0e2e.tar.gz qemu-108b3ba891408c4dce93df78261ec4aca38c0e2e.tar.bz2 |
target/arm: Put all PAC keys into a structure
This allows us to use a single syscall to initialize them all.
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r-- | target/arm/cpu.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 733b840..892f9a4 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -636,11 +636,13 @@ typedef struct CPUARMState { } iwmmxt; #ifdef TARGET_AARCH64 - ARMPACKey apia_key; - ARMPACKey apib_key; - ARMPACKey apda_key; - ARMPACKey apdb_key; - ARMPACKey apga_key; + struct { + ARMPACKey apia; + ARMPACKey apib; + ARMPACKey apda; + ARMPACKey apdb; + ARMPACKey apga; + } keys; #endif #if defined(CONFIG_USER_ONLY) |