summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/FmpDevicePsaFwuLib/FmpDevicePsaFwuLib.inf
blob: 5db0bc08d7a5379b0fb16065f8c996e17ba2f1f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
## @file
#
#  Copyright (c) 2024, Arm Limited. All rights reserved.<BR>
#
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
#  @par Reference(s):
#  - Platform Security Firmware Update for the A-profile Specification 1.0
#    (https://developer.arm.com/documentation/den0118/latest)
#
#  @par Glossary:
#    - FW    - Firmware
#    - FWU   - Firmware Update
#    - PSA   - Platform Security update for the A-profile specification
#    - FMP   - Firmware Management Protocol Device.
#
##


[Defines]
  INF_VERSION                    = 0x00010017
  BASE_NAME                      = PsaFwuLib
  FILE_GUID                      = 200313EC-6C3F-11EE-9F0B-D769BEFFA745
  MODULE_TYPE                    = DXE_RUNTIME_DRIVER
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = FmpDeviceLib|DXE_DRIVER DXE_RUNTIME_DRIVER
  CONSTRUCTOR                    = FmpDevicePsaFwuLibConstructor

#
# The following information is for reference only and not required by the build tools.
#
#  VALID_ARCHITECTURES           = AARCH64
#

[Sources]
  FmpDevicePsaFwuLib.c
  PsaFwuLib.c
  PsaFwuLib.h

[Packages]
  ArmPkg/ArmPkg.dec
  FmpDevicePkg/FmpDevicePkg.dec
  MdePkg/MdePkg.dec

[LibraryClasses]
  ArmFfaLib
  BaseLib
  BaseMemoryLib
  DebugLib
  MemoryAllocationLib
  UefiBootServicesTableLib
  UefiRuntimeServicesTableLib

[Protocols]
  gEfiMmCommunication2ProtocolGuid              ## CONSUMES

[Guids]
  gEfiEventVirtualAddressChangeGuid             ## CONSUMES             ## Event
  gEfiEventReadyToBootGuid                      ## CONSUMES             ## Event
  gPsaFwuUpdateAgentGuid                        ## CONSUMES
  gPsaFwuImageDirectoryGuid                     ## CONSUMES

[Pcd]
  gArmTokenSpaceGuid.PcdSystemFirmwareFmpLowestSupportedVersion
  gArmTokenSpaceGuid.PcdSystemFirmwareFmpVersion
  gArmTokenSpaceGuid.PcdSystemFirmwareFmpVersionString
  gArmTokenSpaceGuid.PcdMmBufferBase
  gArmTokenSpaceGuid.PcdMmBufferSize