MdeModulePkg: Define the VarCheckPolicyLib and SMM interface
https://bugzilla.tianocore.org/show_bug.cgi?id=2522 VariablePolicy is an updated interface to replace VarLock and VarCheckProtocol. This is an instance of a VarCheckLib that is backed by the VariablePolicyLib business logic. It also publishes the SMM calling interface for messages from the DXE protocol. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Bret Barkelew <brbarkel@microsoft.com> Signed-off-by: Bret Barkelew <brbarkel@microsoft.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com> Acked-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
b6104becb9
commit
483449c9da
42
MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
Normal file
42
MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
Normal file
@@ -0,0 +1,42 @@
|
||||
## @file VarCheckPolicyLib.inf
|
||||
# This is an instance of a VarCheck lib that leverages the business logic behind
|
||||
# the VariablePolicy code to make its decisions.
|
||||
#
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = VarCheckPolicyLib
|
||||
FILE_GUID = 9C28A48F-C884-4B1F-8B95-DEF125448023
|
||||
MODULE_TYPE = DXE_RUNTIME_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = NULL|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER
|
||||
CONSTRUCTOR = VarCheckPolicyLibConstructor
|
||||
|
||||
|
||||
[Sources]
|
||||
VarCheckPolicyLib.c
|
||||
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
DebugLib
|
||||
BaseMemoryLib
|
||||
DxeServicesLib
|
||||
MemoryAllocationLib
|
||||
VarCheckLib
|
||||
VariablePolicyLib
|
||||
VariablePolicyHelperLib
|
||||
SafeIntLib
|
||||
MmServicesTableLib
|
||||
|
||||
|
||||
[Guids]
|
||||
gVarCheckPolicyLibMmiHandlerGuid ## CONSUME ## Used to register for MM Communication events.
|
Reference in New Issue
Block a user