-#/** @file\r
+## @file\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
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+# 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
# http://opensource.org/licenses/bsd-license.php\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
[Defines]\r
INF_VERSION = 0x00010005\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
CapsuleService.c\r
\r
+[Sources.Ia32, Sources.IPF, Sources.EBC, Sources.ARM]\r
+ SaveLongModeContext.c\r
+\r
+[Sources.X64]\r
+ X64/SaveLongModeContext.c\r
+\r
[Packages]\r
MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
UefiDriverEntryPoint\r
CapsuleLib\r
UefiRuntimeLib\r
+ BaseLib\r
+ PrintLib\r
+ \r
+[LibraryClasses.X64]\r
+ LockBoxLib\r
+ UefiLib\r
+ BaseMemoryLib\r
+ HobLib \r
\r
[Guids]\r
gEfiCapsuleVendorGuid ## SOMETIMES_PRODUCED (Process across reset capsule image) ## Variable:L"CapsuleUpdateData" for capsule updated data\r
\r
+[Guids.X64]\r
+ gEfiAcpiVariableGuid # ALWAYS_CONSUMED\r
+ gEfiAcpiS3ContextGuid # ALWAYS_CONSUMED\r
+\r
[Protocols]\r
gEfiCapsuleArchProtocolGuid ## PRODUCED\r
\r
+[Protocols.X64]\r
+ gEfiDxeSmmReadyToLockProtocolGuid # ALWAYS_CONSUMED\r
+\r
[FeaturePcd]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset\r
\r
+[FeaturePcd.X64]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode\r
+\r
[Pcd]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule || PcdSupportUpdateCapsuleReset ## Populate Image requires reset support.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule || gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset ## Populate Image requires reset support.\r
+\r
+[Pcd.X64]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize\r
\r
[Depex]\r
gEfiVariableWriteArchProtocolGuid ## Depends on variable write functionality to produce capsule data variable\r