target-arm: Infrastucture changes to enable handling of tagged address loading into PC
commit86fb3fa4ed5873b021a362ea26a021f4aeab1bb4
authorThomas Hanson <thomas.hanson@linaro.org>
Mon, 17 Oct 2016 18:22:18 +0000 (17 19:22 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Oct 2016 18:22:18 +0000 (17 19:22 +0100)
tree324b6bd80a71a5b3a14a820ef4974874fef37333
parent08426da7dd0a63835dcf3003e9a022c0d5678be7
target-arm: Infrastucture changes to enable handling of tagged address loading into PC

When capturing the current CPU state for the TB, extract the TBI0 and TBI1
values from the correct TCR for the current EL and then add them to the TB
flags field.

Then, at the start of code generation for the block, copy the TBI fields
into the DisasContext structure.

Signed-off-by: Thomas Hanson <thomas.hanson@linaro.org>
Message-id: 1476301853-15774-2-git-send-email-thomas.hanson@linaro.org
[PMM: drop useless 'extern' keyword on function prototypes;
 provide CONFIG_USER_ONLY trivial versions of arm_regime_tbi[01]()]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h
target-arm/helper.c
target-arm/translate-a64.c
target-arm/translate.h