diff options
author | Alexander Graf <agraf@suse.de> | 2013-09-03 20:12:09 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-09-10 19:11:28 +0100 |
commit | 3926cc8433542e8c9b7cdc438355fb7660838fd0 (patch) | |
tree | e9f54a33589c0828be150d85d0193bf5d6c9cad1 /target-arm/translate.h | |
parent | 15ee776bf2001883781cc83d456249a60532bb01 (diff) | |
download | qemu-3926cc8433542e8c9b7cdc438355fb7660838fd0.zip qemu-3926cc8433542e8c9b7cdc438355fb7660838fd0.tar.gz qemu-3926cc8433542e8c9b7cdc438355fb7660838fd0.tar.bz2 |
target-arm: Prepare translation for AArch64 code
This patch adds all the prerequisites for AArch64 support that didn't
fit into split up patches. It extends important bits in the core cpu
headers to also take AArch64 mode into account.
Add new ARM_TBFLAG_AARCH64_STATE translation buffer flag
indicate an ARMv8 cpu running in aarch64 mode vs aarch32 mode.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: John Rigby <john.rigby@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1378235544-22290-10-git-send-email-peter.maydell@linaro.org
Message-id: 1368505980-17151-4-git-send-email-john.rigby@linaro.org
[PMM:
* rearranged tbflags so AArch64? is bit 31 and if it is set then
30..0 are freely available for whatever makes most sense for that mode
* added version bump since we change VFP migration state
* added a comment about how VFP/Neon register state works
* physical address space is 48 bits, not 64
* added ARM_FEATURE_AARCH64 flag to identify 64-bit capable CPUs
]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/translate.h')
-rw-r--r-- | target-arm/translate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/translate.h b/target-arm/translate.h index 8ba1433..5be2eed 100644 --- a/target-arm/translate.h +++ b/target-arm/translate.h @@ -22,6 +22,7 @@ typedef struct DisasContext { int vfp_enabled; int vec_len; int vec_stride; + int aarch64; } DisasContext; extern TCGv_ptr cpu_env; |