audk/MdeModulePkg/Include/Guid
Michael Kubacki f3b2187d55 MdeModulePkg/VariablePolicy: Add more granular variable policy querying
Introduces two new APIs to EDKII_VARIABLE_POLICY_PROTOCOL:
  1. GetVariablePolicyInfo()
  2. GetLockOnVariableStateVariablePolicyInfo()

These allow a caller to retrieve policy information associated with
a UEFI variable given the variable name and vendor GUID.

GetVariablePolicyInfo() - Returns the variable policy applied to the
UEFI variable. If the variable policy is applied toward an individual
UEFI variable, that name can optionally be returned.

GetLockOnVariableStateVariablePolicyInfo() - Returns the Lock on
Variable State policy applied to the UEFI variable. If the Lock on
Variable State policy is applied to a specific variable name, that
name can optionally be returned.

These functions can be useful for a variety of purposes such as
auditing, testing, and functional flows.

Also fixed some variable name typos in code touched by the changes.

Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Message-Id: <20231030203112.736-2-mikuback@linux.microsoft.com>
2023-10-31 14:40:50 +00:00
..
AcpiS3Context.h MdeModulePkg: add MpService2Ppi field in SMM_S3_RESUME_STATE 2023-09-08 06:19:34 +00:00
BootDiscoveryPolicy.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BootScriptExecutorVariable.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CapsuleVendor.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ConnectConInEvent.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ConsoleInDevice.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ConsoleOutDevice.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Crc32GuidedSectionExtraction.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DebugMask.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DriverSampleHii.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EndOfS3Resume.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EventExitBootServiceFailed.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ExtendedFirmwarePerformance.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FaultTolerantWrite.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FirmwarePerformance.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HiiBootMaintenanceFormset.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HiiResourceSampleHii.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IdleLoopEvent.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
LoadModuleAtFixedAddress.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
LzmaDecompress.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MdeModuleHii.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MdeModulePkgTokenSpace.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemoryProfile.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemoryStatusCodeRecord.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemoryTypeInformation.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MigratedFvInfo.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MtcVendor.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
NonDiscoverableDevice.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PcdDataBaseHobGuid.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PcdDataBaseSignatureGuid.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Performance.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PerformanceMeasurement.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiSmmCommunicationRegionTable.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiSmmMemoryAttributesTable.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PlatDriOverrideHii.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PlatformHasAcpi.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
RamDiskHii.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
RecoveryDevice.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
RngAlgorithm.h MdeModulePkg/Rng: Add GUID to describe unsafe Rng algorithms 2023-09-08 09:48:55 +00:00
S3SmmInitDone.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
S3StorageDeviceInitList.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SerialPortLibVendor.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmiHandlerProfile.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmLockBox.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmVariableCommon.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
StandardErrorDevice.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
StatusCodeCallbackGuid.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
StatusCodeDataTypeDebug.h MdeModulePkg/Include: Long debug string is truncated to 104 char 2022-07-23 03:12:49 +00:00
StatusCodeDataTypeVariable.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SystemNvDataGuid.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
TraceHubDebugInfoHob.h MdeModulePkg: Add TraceHubDebugSysTLib library 2023-05-11 07:26:38 +00:00
TtyTerm.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UsbKeyBoardLayout.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VarCheckPolicyMmi.h MdeModulePkg/VariablePolicy: Add more granular variable policy querying 2023-10-31 14:40:50 +00:00
VarErrorFlag.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
VariableFlashInfo.h MdeModulePkg: Add Variable Flash Info HOB 2022-05-19 06:11:20 +00:00
VariableFormat.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
VariableIndexTable.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ZeroGuid.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00