MdeModulePkg Variable: Implement VarCheck PROTOCOL
and follow UEFI spec to check UEFI defined variables. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16579 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
# This external input must be validated carefully to avoid security issues such as
|
||||
# buffer overflow or integer overflow.
|
||||
#
|
||||
# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -42,6 +42,7 @@
|
||||
Variable.c
|
||||
VariableDxe.c
|
||||
Variable.h
|
||||
VarCheck.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
@@ -60,6 +61,7 @@
|
||||
UefiDriverEntryPoint
|
||||
PcdLib
|
||||
HobLib
|
||||
DevicePathLib
|
||||
|
||||
[Protocols]
|
||||
gEfiFirmwareVolumeBlockProtocolGuid ## CONSUMES
|
||||
@@ -69,6 +71,7 @@
|
||||
gEfiVariableWriteArchProtocolGuid ## PRODUCES
|
||||
gEfiVariableArchProtocolGuid ## PRODUCES
|
||||
gEdkiiVariableLockProtocolGuid ## PRODUCES
|
||||
gEdkiiVarCheckProtocolGuid ## PRODUCES
|
||||
|
||||
[Guids]
|
||||
## PRODUCES ## GUID # Signature of Variable store header
|
||||
|
Reference in New Issue
Block a user