On Fri, Sep 29, 2023 at 12:52:35PM -0700, Taylor Beebe wrote: > Sorry for the slow reply :) > > > Additional profiles which fit general use cases can be added to > SetMemoryProtectionsLib, but because this is a profile for grub > compatibility I'd say it's better suited for platform code making > MemoryProtectionConfigLib in OvmfPkg the best spot. > I'll add an additional static profile array to MemoryProtectionConfigLib > and have logic loop through both to see if a profile matches. I'll > add the GrubCompat profile you outlined to this new profile array.
Sounds good to me. > I can also update ArmVirtPkg to disable execution protection > for EfiLoaderData by default until fw_cfg parsing > support is added to ArmVirtPkg. Let me know if you think > this is necessary. With MemoryProtectionConfigLib adding fw_cfg parsing support to ArmVirtPkg should be easy, so maybe just do that? take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109310): https://edk2.groups.io/g/devel/message/109310 Mute This Topic: https://groups.io/mt/101469960/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-