]> git.proxmox.com Git - mirror_qemu.git/commit - target-arm/translate.h
target-arm: add non-secure Translation Block flag
authorSergey Fedorov <s.fedorov@samsung.com>
Thu, 11 Dec 2014 12:07:48 +0000 (12:07 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Dec 2014 12:07:48 +0000 (12:07 +0000)
commit3f342b9e0e64ad681cd39840bfa75ef12d2807c1
treecdbd94925950fb306208d2d0f09a27cfc0f54c9a
parentea30a4b824ecc3c829b70eb9999ac5457dc5790f
target-arm: add non-secure Translation Block flag

This patch is based on idea found in patch at
git://github.com/jowinter/qemu-trustzone.git
f3d955c6c0ed8c46bc0eb10b634201032a651dd2 by
Johannes Winter <johannes.winter@iaik.tugraz.at>.

The TBFLAG captures the SCR NS secure state at the time when a TB is created so
the correct bank is accessed on system register accesses.

Signed-off-by: Sergey Fedorov <s.fedorov@samsung.com>
Signed-off-by: Fabian Aggeler <aggelerf@ethz.ch>
Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1416242878-876-5-git-send-email-greg.bellows@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h
target-arm/translate.c
target-arm/translate.h