summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson2019-03-15 01:28:32 +0100
committerRichard Henderson2019-05-22 18:38:54 +0200
commit108b3ba891408c4dce93df78261ec4aca38c0e2e (patch)
tree6d2b4b3ea1bfd13acceb2853088ba20febea94f5 /target/arm/cpu.h
parenthw/misc/exynos4210_rng: Use qemu_guest_getrandom (diff)
downloadqemu-108b3ba891408c4dce93df78261ec4aca38c0e2e.tar.gz
qemu-108b3ba891408c4dce93df78261ec4aca38c0e2e.tar.xz
qemu-108b3ba891408c4dce93df78261ec4aca38c0e2e.zip
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.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 733b840a71..892f9a4ad2 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)