mirror of https://github.com/acidanthera/audk.git
f3b2187d55
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> |
||
---|---|---|
.. | ||
AcpiS3Context.h | ||
BootDiscoveryPolicy.h | ||
BootScriptExecutorVariable.h | ||
CapsuleVendor.h | ||
ConnectConInEvent.h | ||
ConsoleInDevice.h | ||
ConsoleOutDevice.h | ||
Crc32GuidedSectionExtraction.h | ||
DebugMask.h | ||
DriverSampleHii.h | ||
EndOfS3Resume.h | ||
EventExitBootServiceFailed.h | ||
ExtendedFirmwarePerformance.h | ||
FaultTolerantWrite.h | ||
FirmwarePerformance.h | ||
HiiBootMaintenanceFormset.h | ||
HiiResourceSampleHii.h | ||
IdleLoopEvent.h | ||
LoadModuleAtFixedAddress.h | ||
LzmaDecompress.h | ||
MdeModuleHii.h | ||
MdeModulePkgTokenSpace.h | ||
MemoryProfile.h | ||
MemoryStatusCodeRecord.h | ||
MemoryTypeInformation.h | ||
MigratedFvInfo.h | ||
MtcVendor.h | ||
NonDiscoverableDevice.h | ||
PcdDataBaseHobGuid.h | ||
PcdDataBaseSignatureGuid.h | ||
Performance.h | ||
PerformanceMeasurement.h | ||
PiSmmCommunicationRegionTable.h | ||
PiSmmMemoryAttributesTable.h | ||
PlatDriOverrideHii.h | ||
PlatformHasAcpi.h | ||
RamDiskHii.h | ||
RecoveryDevice.h | ||
RngAlgorithm.h | ||
S3SmmInitDone.h | ||
S3StorageDeviceInitList.h | ||
SerialPortLibVendor.h | ||
SmiHandlerProfile.h | ||
SmmLockBox.h | ||
SmmVariableCommon.h | ||
StandardErrorDevice.h | ||
StatusCodeCallbackGuid.h | ||
StatusCodeDataTypeDebug.h | ||
StatusCodeDataTypeVariable.h | ||
SystemNvDataGuid.h | ||
TraceHubDebugInfoHob.h | ||
TtyTerm.h | ||
UsbKeyBoardLayout.h | ||
VarCheckPolicyMmi.h | ||
VarErrorFlag.h | ||
VariableFlashInfo.h | ||
VariableFormat.h | ||
VariableIndexTable.h | ||
ZeroGuid.h |