diff options
author | Pranavkumar Sawargaonkar <pranavkumar@linaro.org> | 2015-02-05 13:37:25 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-02-05 13:37:25 +0000 |
commit | 84f2bed3cf505f90b7918e2de32e11da27160563 (patch) | |
tree | 9d09d21073fde611f6fc4de86780401f45048595 /tcg-runtime.c | |
parent | 568bab1fb8cb2237f0134c4c5ffbc2a8ea26df69 (diff) |
target-arm: Guest cpu endianness determination for virtio KVM ARM/ARM64
This patch implements a fucntion pointer "virtio_is_big_endian"
from "CPUClass" structure for arm/arm64.
Function arm_cpu_is_big_endian() is added to determine and
return the guest cpu endianness to virtio.
This is required for running cross endian guests with virtio on ARM/ARM64.
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Message-id: 1423130382-18640-3-git-send-email-pranavkumar@linaro.org
[PMM: check CPSR_E in env->cpsr_uncached, not env->pstate.]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tcg-runtime.c')
0 files changed, 0 insertions, 0 deletions