]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
MdeModulePkg CapsuleRuntimeDxe: Reduce reserved memory consumption
[mirror_edk2.git] / MdeModulePkg / Universal / CapsuleRuntimeDxe / CapsuleRuntimeDxe.inf
... / ...
CommitLineData
1## @file\r
2# Capsule Runtime Driver produces two UEFI capsule runtime services: (UpdateCapsule, QueryCapsuleCapabilities).\r
3#\r
4# It installs the Capsule Architectural Protocol defined in PI1.0a to signify \r
5# the capsule runtime services are ready.\r
6# \r
7# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
8# This program and the accompanying materials\r
9# are licensed and made available under the terms and conditions of the BSD License\r
10# which accompanies this distribution. The full text of the license may be found at\r
11# http://opensource.org/licenses/bsd-license.php\r
12# \r
13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
14# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
15# \r
16##\r
17\r
18[Defines]\r
19 INF_VERSION = 0x00010005\r
20 BASE_NAME = CapsuleRuntimeDxe\r
21 MODULE_UNI_FILE = CapsuleRuntimeDxe.uni\r
22 FILE_GUID = 42857F0A-13F2-4B21-8A23-53D3F714B840\r
23 MODULE_TYPE = DXE_RUNTIME_DRIVER\r
24 VERSION_STRING = 1.0\r
25 ENTRY_POINT = CapsuleServiceInitialize\r
26\r
27#\r
28# The following information is for reference only and not required by the build tools.\r
29#\r
30# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
31#\r
32\r
33[Sources]\r
34 CapsuleService.c\r
35\r
36[Sources.Ia32, Sources.IPF, Sources.EBC, Sources.ARM, Sources.AARCH64]\r
37 SaveLongModeContext.c\r
38\r
39[Sources.X64]\r
40 X64/SaveLongModeContext.c\r
41\r
42[Packages]\r
43 MdePkg/MdePkg.dec\r
44 MdeModulePkg/MdeModulePkg.dec\r
45\r
46[LibraryClasses]\r
47 UefiBootServicesTableLib\r
48 PcdLib\r
49 DebugLib\r
50 UefiRuntimeServicesTableLib\r
51 UefiDriverEntryPoint\r
52 CapsuleLib\r
53 UefiRuntimeLib\r
54 BaseLib\r
55 PrintLib\r
56 BaseMemoryLib\r
57\r
58[LibraryClasses.X64]\r
59 UefiLib\r
60 BaseMemoryLib\r
61\r
62[Guids]\r
63 ## SOMETIMES_PRODUCES ## Variable:L"CapsuleUpdateData" # (Process across reset capsule image) for capsule updated data\r
64 ## SOMETIMES_PRODUCES ## Variable:L"CapsuleLongModeBuffer" # The long mode buffer used by IA32 Capsule PEIM to call X64 CapsuleCoalesce code to handle >4GB capsule blocks\r
65 gEfiCapsuleVendorGuid\r
66 gEfiFmpCapsuleGuid ## SOMETIMES_CONSUMES ## GUID # FMP capsule GUID\r
67\r
68[Protocols]\r
69 gEfiCapsuleArchProtocolGuid ## PRODUCES\r
70\r
71[Protocols.X64]\r
72 ## UNDEFINED ## NOTIFY\r
73 ## SOMETIMES_CONSUMES\r
74 gEdkiiVariableLockProtocolGuid\r
75\r
76[FeaturePcd]\r
77 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset ## CONSUMES\r
78\r
79[FeaturePcd.X64]\r
80 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r
81\r
82[Pcd]\r
83 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule ## SOMETIMES_CONSUMES\r
84 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule || gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset ## SOMETIMES_CONSUMES # Populate Image requires reset support.\r
85\r
86[Pcd.X64]\r
87 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize ## SOMETIMES_CONSUMES\r
88 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r
89\r
90[Depex]\r
91 gEfiVariableWriteArchProtocolGuid # Depends on variable write functionality to produce capsule data variable\r
92\r
93# [Hob.X64]\r
94# UNDEFINED ## SOMETIMES_CONSUMES # CPU\r
95\r
96[UserExtensions.TianoCore."ExtraFiles"]\r
97 CapsuleRuntimeDxeExtra.uni\r