#/** @file\r
-# Component description file for Capsule module.\r
-#\r
-# CapsuleRuntime module provides capsule runtime services\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
-#\r
+# \r
+# Capsule Runtime Driver produces two UEFI capsule runtime services.\r
+# (UpdateCapsule, QueryCapsuleCapabilities)\r
+# It installs the Capsule Architectural Protocol defined in PI1.0a to signify \r
+# the capsule runtime services are ready.\r
+# \r
+# Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
+# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
+# \r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-#\r
+# \r
#**/\r
\r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = CapsuleRuntimeDxe\r
FILE_GUID = 42857F0A-13F2-4B21-8A23-53D3F714B840\r
MODULE_TYPE = DXE_RUNTIME_DRIVER\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
ENTRY_POINT = CapsuleServiceInitialize\r
\r
#\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
\r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
[Sources.common]\r
- CapsuleService.h\r
CapsuleService.c\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
\r
[LibraryClasses]\r
UefiBootServicesTableLib\r
- MemoryAllocationLib\r
- BaseMemoryLib\r
PcdLib\r
DebugLib\r
- UefiRuntimeLib\r
- DxeServicesTableLib\r
+ UefiRuntimeServicesTableLib\r
UefiDriverEntryPoint\r
+ CapsuleLib\r
+ UefiRuntimeLib\r
\r
[Guids]\r
- gEfiCapsuleVendorGuid # SOMETIMES_CONSUMED\r
+ gEfiCapsuleVendorGuid ## SOMETIMES_PRODUCED (Process across reset capsule image) ## Variable:L"CapsuleUpdateData" for capsule updated data\r
\r
[Protocols]\r
- gEfiCapsuleArchProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
+ gEfiCapsuleArchProtocolGuid ## PRODUCED\r
\r
-[PcdsFeatureFlag.common]\r
- PcdSupportUpdateCapsuleRest|gEfiMdeModulePkgTokenSpaceGuid\r
+[FeaturePcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset\r
\r
-[PcdsFixedAtBuild.common]\r
- PcdMaxSizeNonPopulateCapsule|gEfiMdeModulePkgTokenSpaceGuid\r
- PcdMaxSizePopulateCapsule|gEfiMdeModulePkgTokenSpaceGuid\r
+[Pcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule || PcdSupportUpdateCapsuleReset ## Populate Image requires reset support.\r
\r
[Depex]\r
- gEfiVariableArchProtocolGuid\r
+ gEfiVariableWriteArchProtocolGuid ## Depends on variable write functionality to produce capsule data variable\r