Re: [PATCH v3 22/24] efi/libstub: Add memory attribute protocol definitions

From: Evgeniy Baskov
Date: Tue Jan 31 2023 - 05:00:43 EST


On 2023-01-31 11:37, Ard Biesheuvel wrote:
On Tue, 22 Nov 2022 at 12:14, Evgeniy Baskov <baskov@xxxxxxxxx> wrote:

EFI_MEMORY_ATTRIBUTE_PROTOCOL servers as a better alternative to
DXE services for setting memory attributes in EFI Boot Services
environment. This protocol is better since it is a part of UEFI
specification itself and not UEFI PI specification like DXE
services.

Add EFI_MEMORY_ATTRIBUTE_PROTOCOL definitions.
Support mixed mode properly for its calls.

Tested-by: Mario Limonciello <mario.limonciello@xxxxxxx>
Signed-off-by: Evgeniy Baskov <baskov@xxxxxxxxx>

I have fixed up just this patch, as there is another user for the
protocol in zboot.


One patch less in the patch set then, thanks!