Le sunnuntaina 27. maaliskuuta 2022, 12.34.26 EEST Idan Horowitz a écrit :
> As per the AArch64.SS2OutputPASpace() psuedo-code in the ARMv8 ARM when the
> PA space of the IPA is non secure, the output PA space is secure if and only
> if all of the bits VTCR., VSTCR. are not set.
>
>
mp; arm_feature(env, ARM_FEATURE_EL2)) {
> +if (el < 2 && arm_is_el2_enabled(env)) {
> uint64_t hcr = arm_hcr_el2_eff(env);
> bool trap = !(hcr & HCR_API);
> if (el == 0) {
Ack.
--
Rémi Denis-Courmont
http://www.remlab.net/