public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* SetMemorySpaceAttributes with EFI_MEMORY_XP
@ 2017-03-20 10:32 Michael Zimmermann
  2017-03-20 11:04 ` Ard Biesheuvel
  2017-03-20 11:06 ` Laszlo Ersek
  0 siblings, 2 replies; 11+ messages in thread
From: Michael Zimmermann @ 2017-03-20 10:32 UTC (permalink / raw)
  To: edk2-devel-01, Laszlo Ersek, Ard Biesheuvel

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-03-20 19:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-20 10:32 SetMemorySpaceAttributes with EFI_MEMORY_XP Michael Zimmermann
2017-03-20 11:04 ` Ard Biesheuvel
2017-03-20 11:16   ` Michael Zimmermann
2017-03-20 11:20     ` Ard Biesheuvel
2017-03-20 11:38       ` Laszlo Ersek
2017-03-20 14:08         ` Ard Biesheuvel
2017-03-20 15:22           ` Yao, Jiewen
2017-03-20 15:24           ` Laszlo Ersek
2017-03-20 19:31             ` Ard Biesheuvel
2017-03-20 11:06 ` Laszlo Ersek
2017-03-20 11:10   ` Michael Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox