On 11/2/20 2:57 AM, [email protected] wrote:
> From: Rémi Denis-Courmont <[email protected]>
> 
> This adds a common helper to compute the effective value of MDCR_EL2.
> That is the actual value if EL2 is enabled in the current security
> context, or 0 elsewise.
> 
> Signed-off-by: Rémi Denis-Courmont <[email protected]>
> ---
>  target/arm/helper.c | 38 ++++++++++++++++++++++----------------
>  1 file changed, 22 insertions(+), 16 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>


r~

Reply via email to