]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
1. CapsuleLongModeBuffer variable should not have EFI_VARIABLE_RUNTIME_ACCESS attribute.
[mirror_edk2.git] / MdeModulePkg / Universal / CapsuleRuntimeDxe / CapsuleRuntimeDxe.inf
... / ...
CommitLineData
1## @file\r
2# \r
3# Capsule Runtime Driver produces two UEFI capsule runtime services.\r
4# (UpdateCapsule, QueryCapsuleCapabilities)\r
5# It installs the Capsule Architectural Protocol defined in PI1.0a to signify \r
6# the capsule runtime services are ready.\r
7# \r
8# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
9# This program and the accompanying materials\r
10# are licensed and made available under the terms and conditions of the BSD License\r
11# which accompanies this distribution. The full text of the license may be found at\r
12# http://opensource.org/licenses/bsd-license.php\r
13# \r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16# \r
17##\r
18\r
19[Defines]\r
20 INF_VERSION = 0x00010005\r
21 BASE_NAME = CapsuleRuntimeDxe\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 LockBoxLib\r
60 UefiLib\r
61 BaseMemoryLib\r
62 HobLib \r
63\r
64[Guids]\r
65 gEfiCapsuleVendorGuid ## SOMETIMES_PRODUCED (Process across reset capsule image) ## Variable:L"CapsuleUpdateData" for capsule updated data\r
66 gEfiFmpCapsuleGuid ## FMP capsule GUID\r
67\r
68[Guids.X64]\r
69 gEfiAcpiVariableGuid # ALWAYS_CONSUMED\r
70 gEfiAcpiS3ContextGuid # ALWAYS_CONSUMED\r
71\r
72[Protocols]\r
73 gEfiCapsuleArchProtocolGuid ## PRODUCED\r
74\r
75[Protocols.X64]\r
76 ## UNDEFINED ## NOTIFY\r
77 ## SOMETIMES_CONSUMES\r
78 gEdkiiVariableLockProtocolGuid\r
79\r
80[FeaturePcd]\r
81 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset\r
82\r
83[FeaturePcd.X64]\r
84 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode\r
85\r
86[Pcd]\r
87 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule\r
88 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule || gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset ## Populate Image requires reset support.\r
89\r
90[Pcd.X64]\r
91 ## SOMETIMES_CONSUMES\r
92 ## SOMETIMES_PRODUCES\r
93 gEfiMdeModulePkgTokenSpaceGuid.PcdIdentifyMappingPageTablePtr\r
94 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize\r
95 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r
96\r
97[Depex]\r
98 gEfiVariableWriteArchProtocolGuid ## Depends on variable write functionality to produce capsule data variable\r