diff options
author | Richard Henderson | 2020-03-05 17:09:17 +0100 |
---|---|---|
committer | Peter Maydell | 2020-03-05 17:09:17 +0100 |
commit | 45ca3a14081e069722a12db1c12facb3a73ed562 (patch) | |
tree | 36e7f76c58ed736bf4c04c569a4279106c5bbc83 /target/arm/iwmmxt_helper.c | |
parent | target/arm: Add HCR_EL2 bit definitions from ARMv8.6 (diff) | |
download | qemu-45ca3a14081e069722a12db1c12facb3a73ed562.tar.gz qemu-45ca3a14081e069722a12db1c12facb3a73ed562.tar.xz qemu-45ca3a14081e069722a12db1c12facb3a73ed562.zip |
target/arm: Disable has_el2 and has_el3 for user-only
In arm_cpu_reset, we configure many system registers so that user-only
behaves as it should with a minimum of ifdefs. However, we do not set
all of the system registers as required for a cpu with EL2 and EL3.
Disabling EL2 and EL3 mean that we will not look at those registers,
which means that we don't have to worry about configuring them.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200229012811.24129-4-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/iwmmxt_helper.c')
0 files changed, 0 insertions, 0 deletions