2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2008-04-09 07:50:10 +02:00
|
|
|
#
|
2009-02-25 11:50:45 +01:00
|
|
|
# Capsule Runtime Driver produces two UEFI capsule runtime services.
|
2009-01-04 04:20:55 +01:00
|
|
|
# (UpdateCapsule, QueryCapsuleCapabilities)
|
2009-02-25 16:35:58 +01:00
|
|
|
# It installs the Capsule Architectural Protocol defined in PI1.0a to signify
|
2009-01-04 04:20:55 +01:00
|
|
|
# the capsule runtime services are ready.
|
2008-04-09 07:50:10 +02:00
|
|
|
#
|
2013-10-15 03:31:49 +02:00
|
|
|
# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
|
2010-04-24 11:33:45 +02:00
|
|
|
# This program and the accompanying materials
|
2007-07-18 16:31:27 +02:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
2008-04-09 07:50:10 +02:00
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
2007-07-18 16:31:27 +02:00
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
2008-04-09 07:50:10 +02:00
|
|
|
#
|
2007-07-18 16:31:27 +02:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
2008-04-09 07:50:10 +02:00
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2007-07-18 16:31:27 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = CapsuleRuntimeDxe
|
|
|
|
FILE_GUID = 42857F0A-13F2-4B21-8A23-53D3F714B840
|
|
|
|
MODULE_TYPE = DXE_RUNTIME_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = CapsuleServiceInitialize
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2007-07-18 16:31:27 +02:00
|
|
|
CapsuleService.c
|
|
|
|
|
2013-08-07 13:28:15 +02:00
|
|
|
[Sources.Ia32, Sources.IPF, Sources.EBC, Sources.ARM, Sources.AARCH64]
|
2011-09-02 13:34:35 +02:00
|
|
|
SaveLongModeContext.c
|
|
|
|
|
|
|
|
[Sources.X64]
|
|
|
|
X64/SaveLongModeContext.c
|
|
|
|
|
2007-07-18 16:31:27 +02:00
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2007-08-29 10:52:49 +02:00
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2007-07-18 16:31:27 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
PcdLib
|
|
|
|
DebugLib
|
2009-01-04 04:20:55 +01:00
|
|
|
UefiRuntimeServicesTableLib
|
2007-07-18 16:31:27 +02:00
|
|
|
UefiDriverEntryPoint
|
2007-12-05 10:58:33 +01:00
|
|
|
CapsuleLib
|
2009-01-04 04:20:55 +01:00
|
|
|
UefiRuntimeLib
|
2010-02-23 03:33:17 +01:00
|
|
|
BaseLib
|
|
|
|
PrintLib
|
2013-10-15 03:31:49 +02:00
|
|
|
BaseMemoryLib
|
|
|
|
|
2011-09-02 13:34:35 +02:00
|
|
|
[LibraryClasses.X64]
|
|
|
|
LockBoxLib
|
|
|
|
UefiLib
|
|
|
|
BaseMemoryLib
|
|
|
|
HobLib
|
2007-07-18 16:31:27 +02:00
|
|
|
|
|
|
|
[Guids]
|
2009-01-09 07:26:42 +01:00
|
|
|
gEfiCapsuleVendorGuid ## SOMETIMES_PRODUCED (Process across reset capsule image) ## Variable:L"CapsuleUpdateData" for capsule updated data
|
2013-10-15 03:31:49 +02:00
|
|
|
gEfiFmpCapsuleGuid ## FMP capsule GUID
|
2007-07-18 16:31:27 +02:00
|
|
|
|
2011-09-02 13:34:35 +02:00
|
|
|
[Guids.X64]
|
|
|
|
gEfiAcpiVariableGuid # ALWAYS_CONSUMED
|
|
|
|
gEfiAcpiS3ContextGuid # ALWAYS_CONSUMED
|
|
|
|
|
2007-07-18 16:31:27 +02:00
|
|
|
[Protocols]
|
2009-01-09 07:26:42 +01:00
|
|
|
gEfiCapsuleArchProtocolGuid ## PRODUCED
|
2007-07-18 16:31:27 +02:00
|
|
|
|
2011-09-02 13:34:35 +02:00
|
|
|
[Protocols.X64]
|
|
|
|
gEfiDxeSmmReadyToLockProtocolGuid # ALWAYS_CONSUMED
|
|
|
|
|
2009-01-04 04:20:55 +01:00
|
|
|
[FeaturePcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset
|
2007-07-18 16:31:27 +02:00
|
|
|
|
2011-09-02 13:34:35 +02:00
|
|
|
[FeaturePcd.X64]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
|
|
|
|
|
2009-03-05 06:05:57 +01:00
|
|
|
[Pcd]
|
2007-08-30 11:11:54 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule
|
2011-03-14 09:43:59 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule || gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset ## Populate Image requires reset support.
|
2007-07-18 16:31:27 +02:00
|
|
|
|
2011-09-02 13:34:35 +02:00
|
|
|
[Pcd.X64]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize
|
|
|
|
|
2007-07-18 16:31:27 +02:00
|
|
|
[Depex]
|
2009-01-09 07:26:42 +01:00
|
|
|
gEfiVariableWriteArchProtocolGuid ## Depends on variable write functionality to produce capsule data variable
|