diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-02-27 12:58:30 -1000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2023-03-06 14:08:12 +0000 |
| commit | a0262ba68c7b07e0eb004464b333395151f053da (patch) | |
| tree | 81d32266900dacdfe01c7a41d09a1988a2a1c005 /hw/core/loader.c | |
| parent | 9094f9551df849f68d40236092d8af3ed869d093 (diff) | |
| download | focaccia-qemu-a0262ba68c7b07e0eb004464b333395151f053da.tar.gz focaccia-qemu-a0262ba68c7b07e0eb004464b333395151f053da.zip | |
target/arm: Stub arm_hcr_el2_eff for m-profile
M-profile doesn't have HCR_EL2. While we could test features before each call, zero is a generally safe return value to disable the code in the caller. This test is required to avoid an assert in arm_is_secure_below_el3. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230227225832.816605-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions