summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/CapsulePei
diff options
context:
space:
mode:
authorZeng, Star <star.zeng@intel.com>2014-08-28 06:34:06 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-28 06:34:06 +0000
commit6036e94dc9402827130875258e99e486e82e7904 (patch)
tree41eaba32a2685b0a2e96ce52398a06f6e6143fb6 /MdeModulePkg/Universal/CapsulePei
parentf7acc872414700af99ad2ab6b5b3140615bc255a (diff)
downloadedk2-platforms-6036e94dc9402827130875258e99e486e82e7904.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Universal/CapsulePei')
-rw-r--r--MdeModulePkg/Universal/CapsulePei/CapsulePei.inf36
-rw-r--r--MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf8
2 files changed, 28 insertions, 16 deletions
diff --git a/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf b/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
index 5ca9afa5b5..2a0fa4b322 100644
--- a/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
+++ b/MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
@@ -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
-
-[Pcd.IA32]
- gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile
+ gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES
[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
diff --git a/MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf b/MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf
index 6af8cbfc47..f9d9971ef1 100644
--- a/MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf
+++ b/MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf
@@ -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