Skip to content
Commit 421a3c22 authored by Luc MICHEL's avatar Luc MICHEL Committed by Peter Maydell
Browse files

hw/intc/arm_gic: Fix the NS view of C_BPR when C_CTRL.CBPR is 1



When C_CTRL.CBPR is 1, the Non-Secure view of C_BPR is altered:
  - A Non-Secure read of C_BPR should return the BPR value plus 1,
  saturated to 7,
  - A Non-Secure write should be ignored.

Signed-off-by: default avatarLuc MICHEL <luc.michel@git.antfield.fr>
Message-id: 20180119145756.7629-6-luc.michel@greensocs.com
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
[PMM: fixed comment typo]
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent fc05a6f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment