OSDN Git Service

target/arm: Add support for missing Jazelle system registers
authorMarc Zyngier <maz@kernel.org>
Sun, 1 Dec 2019 12:20:18 +0000 (12:20 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 16 Dec 2019 10:46:35 +0000 (10:46 +0000)
commitf96f3d5f09973ef40f164cf2d5fd98ce5498b82a
treeec0f0f500fce06f3dc358f71d59bb2910b6bb565
parent5bb0a20b74ad17dee5dae38e3b8b70b383ee7c2d
target/arm: Add support for missing Jazelle system registers

QEMU lacks the minimum Jazelle implementation that is required
by the architecture (everything is RAZ or RAZ/WI). Add it
together with the HCR_EL2.TID0 trapping that goes with it.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191201122018.25808-6-maz@kernel.org
[PMM: moved ARMCPRegInfo array to file scope, marked it
 'static global', moved new condition down in
 register_cp_regs_for_features() to go with other feature
 things rather than up with the v6/v7/v8 stuff]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c