Hi, I didn't test ArmVirtQemuKernel but I'm trying to use some of the code for another platform. So does this call ever succeed with PcdDxeNxMemoryProtectionPolicy being enabled? https://github.com/tianocore/edk2/blob/76874be3d411bf8daac051718e20932e0bf97d70/ArmVirtPkg/HighMemDxe/HighMemDxe.c#L95 Status = gDS->SetMemorySpaceAttributes (CurBase, CurSize, Attributes);
Neither the memory that was added by this Dxe nor the one added automatically by GCD has the EFI_MEMORY_XP capability which causes SetMemorySpaceAttributes to return EFI_UNSUPPORTED. Thanks Michael _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel