SecurityPkg: INF/DEC file updates to EDK II packages
1. Usage information in INF file comment blocks are either incomplete or incorrect. This includes usage information for Protocols/PPIs/GUIDs/PCDs/HOBs/Events/BootModes. The syntax for usage information in comment blocks is defined in the EDK II Module Information (INF) Specification Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dong, Guo <guo.dong@intel.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15950 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
## @file
|
||||
# Component description file for SMM Authenticated Variable module.
|
||||
# Provides SMM authenticated variable service
|
||||
#
|
||||
# This module installs SMM variable protocol into SMM protocol database,
|
||||
# which can be used by SMM driver, and installs SMM variable protocol
|
||||
# into BS protocol database, which can be used to notify the SMM Runtime
|
||||
# Dxe driver that the SMM variable service is ready.
|
||||
# This module should be used with SMM Runtime DXE module together. The
|
||||
# SMM Runtime DXE module would install variable arch protocol and variable
|
||||
# SMM Runtime DXE module installs variable arch protocol and variable
|
||||
# write arch protocol based on SMM variable module.
|
||||
#
|
||||
# Caution: This module requires additional review when modified.
|
||||
# This driver will have external input - variable data and communicate buffer in SMM mode.
|
||||
# This external input must be validated carefully to avoid security issue like
|
||||
# buffer overflow, integer overflow.
|
||||
# This external input must be validated carefully to avoid security issues such as
|
||||
# buffer overflow or integer overflow.
|
||||
#
|
||||
# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
@@ -27,6 +27,7 @@
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = VariableAuthSmm
|
||||
MODULE_UNI_FILE = VariableAuthSmm.uni
|
||||
FILE_GUID = D34BDC5E-968A-40f5-A48C-E594F45AE211
|
||||
MODULE_TYPE = DXE_SMM_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
@@ -69,43 +70,83 @@
|
||||
HobLib
|
||||
|
||||
[Protocols]
|
||||
gEfiSmmFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSmmVariableProtocolGuid ## ALWAYS_PRODUCES
|
||||
gEfiSmmFaultTolerantWriteProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSmmAccess2ProtocolGuid ## ALWAYS_CONSUMES
|
||||
gEfiSmmEndOfDxeProtocolGuid ## ALWAYS_CONSUMES
|
||||
gEfiSmmFirmwareVolumeBlockProtocolGuid ## CONSUMES
|
||||
gEfiSmmAccess2ProtocolGuid ## CONSUMES
|
||||
|
||||
## PRODUCES
|
||||
## UNDEFINED # SmiHandlerRegister
|
||||
gEfiSmmVariableProtocolGuid
|
||||
|
||||
## CONSUMES
|
||||
## NOTIFY
|
||||
gEfiSmmFaultTolerantWriteProtocolGuid
|
||||
gEfiSmmEndOfDxeProtocolGuid ## NOTIFY
|
||||
|
||||
[Guids]
|
||||
gEfiAuthenticatedVariableGuid ## PRODUCES ## Configuration Table Guid
|
||||
gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid
|
||||
gSmmVariableWriteGuid ## PRODUCES ## SMM Variable Write Guid
|
||||
gEfiCertTypeRsa2048Sha256Guid
|
||||
## PRODUCES ## GUID # Variable store header
|
||||
## CONSUMES ## GUID # Variable store header
|
||||
## SOMETIMES_CONSUMES ## HOB
|
||||
gEfiAuthenticatedVariableGuid
|
||||
|
||||
## SOMETIMES_CONSUMES ## Variable:L"PlatformLang"
|
||||
## SOMETIMES_PRODUCES ## Variable:L"PlatformLang"
|
||||
## SOMETIMES_CONSUMES ## Variable:L"Lang"
|
||||
## SOMETIMES_PRODUCES ## Variable:L"Lang"
|
||||
## SOMETIMES_CONSUMES ## Variable:L"HwErrRecSupport"
|
||||
## CONSUMES ## Variable:L"SetupMode"
|
||||
## PRODUCES ## Variable:L"SetupMode"
|
||||
## SOMETIMES_CONSUMES ## Variable:L"PK"
|
||||
## SOMETIMES_CONSUMES ## Variable:L"KEK"
|
||||
## CONSUMES ## Variable:L"SecureBoot"
|
||||
## PRODUCES ## Variable:L"SecureBoot"
|
||||
## CONSUMES ## Variable:L"SignatureSupport"
|
||||
## PRODUCES ## Variable:L"SignatureSupport"
|
||||
## PRODUCES ## Variable:L"VendorKeys"
|
||||
gEfiGlobalVariableGuid
|
||||
|
||||
## SOMETIMES_CONSUMES ## Variable:L"DB"
|
||||
## SOMETIMES_CONSUMES ## Variable:L"DBX"
|
||||
gEfiImageSecurityDatabaseGuid
|
||||
gEfiCertX509Guid
|
||||
gEfiCertPkcs7Guid
|
||||
gEfiCertRsa2048Guid
|
||||
|
||||
## CONSUMES ## Variable:L"SecureBootEnable"
|
||||
## PRODUCES ## Variable:L"SecureBootEnable"
|
||||
gEfiSecureBootEnableDisableGuid
|
||||
|
||||
## CONSUMES ## Variable:L"CustomMode"
|
||||
## PRODUCES ## Variable:L"CustomMode"
|
||||
gEfiCustomModeEnableGuid
|
||||
gEfiVendorKeysNvGuid
|
||||
gEfiSystemNvDataFvGuid ## CONSUMES
|
||||
|
||||
## CONSUMES ## Variable:L"certdb"
|
||||
## PRODUCES ## Variable:L"certdb"
|
||||
gEfiCertDbGuid
|
||||
gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES
|
||||
gEdkiiFaultTolerantWriteGuid ## CONSUMES
|
||||
|
||||
## CONSUMES ## Variable:L"VendorKeysNv"
|
||||
## PRODUCES ## Variable:L"VendorKeysNv"
|
||||
gEfiVendorKeysNvGuid
|
||||
|
||||
gSmmVariableWriteGuid ## PRODUCES ## GUID # Install protocol
|
||||
gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the format of the CertData.
|
||||
gEfiCertPkcs7Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the format of the CertData.
|
||||
gEfiCertX509Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
|
||||
gEfiSystemNvDataFvGuid ## CONSUMES ## GUID
|
||||
gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"HwErrRec####"
|
||||
gEdkiiFaultTolerantWriteGuid ## SOMETIMES_CONSUMES ## HOB
|
||||
|
||||
[Pcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize
|
||||
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUMES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase ## SOMETIMES_CONSUMES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64 ## CONSUMES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize ## CONSUMES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize ## CONSUMES
|
||||
|
||||
[FeaturePcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.
|
||||
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.
|
||||
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES # Auto update PlatformLang/Lang
|
||||
|
||||
[Depex]
|
||||
TRUE
|
||||
|
||||
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
VariableSmmExtra.uni
|
Reference in New Issue
Block a user