MdeModulePkg: 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: Zeng, Star <star.zeng@intel.com>
Reviewed-by: Gao, Liming <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15962 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Zeng, Star
2014-08-28 06:34:06 +00:00
committed by lgao4
parent f7acc87241
commit 6036e94dc9
149 changed files with 1838 additions and 1221 deletions

View File

@@ -1,14 +1,12 @@
## @file
# Component description file for Capsule module.
#
# Capsule update module supports EFI and UEFI.
# Capsule update PEIM supports EFI and UEFI.
#
# Caution: This module requires additional review when modified.
# This driver will have external input - capsule image.
# This external input must be validated carefully to avoid security issue like
# buffer overflow, integer overflow.
#
# Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions
@@ -24,6 +22,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = CapsulePei
MODULE_UNI_FILE = CapsulePei.uni
FILE_GUID = C779F6D8-7113-4AA1-9648-EB1633C7D53B
MODULE_TYPE = PEIM
VERSION_STRING = 1.0
@@ -62,25 +61,36 @@
DebugAgentLib
[Guids]
gEfiCapsuleVendorGuid # ALWAYS_CONSUMED
## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"
## SOMETIMES_CONSUMES ## Variable:L"CapsuleLongModeBuffer"
gEfiCapsuleVendorGuid
[Ppis]
gEfiPeiReadOnlyVariable2PpiGuid # PPI ALWAYS_CONSUMED
gPeiCapsulePpiGuid # PPI ALWAYS_CONSUMED
gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
gPeiCapsulePpiGuid ## PRODUCES
[Ppis.IA32]
gEfiPeiLoadFilePpiGuid # PPI ALWAYS_CONSUMED
gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES
[Pcd.IA32]
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile
[Pcd.IA32]
gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile ## SOMETIMES_CONSUMES
gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
[FeaturePcd.IA32]
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
[Depex]
gEfiPeiReadOnlyVariable2PpiGuid
# [BootMode]
# FLASH_UPDATE ## SOMETIMES_CONSUMES
# [Hob.IA32]
# UNDEFINED ## SOMETIMES_CONSUMES # CPU
# [Hob]
# UNDEFINED ## SOMETIMES_PRODUCES # UEFI_CAPSULE
[UserExtensions.TianoCore."ExtraFiles"]
CapsulePeiExtra.uni

View File

@@ -1,5 +1,5 @@
## @file
# Component description file for CapsuleX64 module.
# CapsuleX64 module handles >4GB capsule blocks.
#
# The X64 entrypoint to process capsule in long mode.
# This module is built as X64.
@@ -9,7 +9,7 @@
# This external input must be validated carefully to avoid security issue like
# buffer overflow, integer overflow.
#
# Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions
@@ -25,6 +25,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = CapsuleX64
MODULE_UNI_FILE = CapsuleX64.uni
FILE_GUID = F7FDE4A6-294C-493c-B50F-9734553BB757
MODULE_TYPE = PEIM
VERSION_STRING = 1.0
@@ -52,4 +53,5 @@
[Depex]
FALSE
[UserExtensions.TianoCore."ExtraFiles"]
CapsuleX64Extra.uni