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