]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
Allocate EfiReservedMemoryType of memory.
[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 - 2014, 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 HobLib \r
62\r
63[Guids]\r
64 ## SOMETIMES_PRODUCES ## Variable:L"CapsuleUpdateData" # (Process across reset capsule image) for capsule updated data\r
65 ## 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
66 gEfiCapsuleVendorGuid\r
67 gEfiFmpCapsuleGuid ## SOMETIMES_CONSUMES ## GUID # FMP capsule GUID\r
68\r
69[Protocols]\r
70 gEfiCapsuleArchProtocolGuid ## PRODUCES\r
71\r
72[Protocols.X64]\r
73 ## UNDEFINED ## NOTIFY\r
74 ## SOMETIMES_CONSUMES\r
75 gEdkiiVariableLockProtocolGuid\r
76\r
77[FeaturePcd]\r
78 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset ## CONSUMES\r
79\r
80[FeaturePcd.X64]\r
81 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r
82\r
83[Pcd]\r
84 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule ## SOMETIMES_CONSUMES\r
85 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule || gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset ## SOMETIMES_CONSUMES # Populate Image requires reset support.\r
86\r
87[Pcd.X64]\r
88 ## SOMETIMES_CONSUMES\r
89 ## SOMETIMES_PRODUCES\r
90 gEfiMdeModulePkgTokenSpaceGuid.PcdIdentifyMappingPageTablePtr\r
91 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize ## SOMETIMES_CONSUMES\r
92 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r
93\r
94[Depex]\r
95 gEfiVariableWriteArchProtocolGuid # Depends on variable write functionality to produce capsule data variable\r
96\r
97# [Hob.X64]\r
98# UNDEFINED ## SOMETIMES_CONSUMES # CPU\r
99\r
100[UserExtensions.TianoCore."ExtraFiles"]\r
101 CapsuleRuntimeDxeExtra.uni\r