Skip to content
Commit 79729f26 authored by Evgeniy Baskov's avatar Evgeniy Baskov Committed by Ard Biesheuvel
Browse files

efi/libstub: Add memory attribute protocol definitions



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: default avatarMario Limonciello <mario.limonciello@amd.com>
Signed-off-by: default avatarEvgeniy Baskov <baskov@ispras.ru>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 0217a40d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment