summaryrefslogtreecommitdiff
path: root/OvmfPkg/TdxDxe/TdxDxe.inf
blob: 9793562884c7798ea8dd4282838af6d8bf327088 (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
69
70
71
72
73
#/** @file
#
#  Driver clears the encryption attribute from MMIO regions when TDX is enabled
#
#  Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
#
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
#**/

[Defines]
  INF_VERSION                    = 1.25
  BASE_NAME                      = TdxDxe
  FILE_GUID                      = E750224E-7BCE-40AF-B5BB-47E3611EB5C2
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 1.0
  ENTRY_POINT                    = TdxDxeEntryPoint

[Sources]
  TdxDxe.c
  TdxAcpiTable.c
  X64/ApRunLoop.nasm

[Packages]
  MdeModulePkg/MdeModulePkg.dec
  MdePkg/MdePkg.dec
  UefiCpuPkg/UefiCpuPkg.dec
  OvmfPkg/OvmfPkg.dec

[LibraryClasses]
  BaseLib
  BaseMemoryLib
  DebugLib
  DxeServicesTableLib
  MemoryAllocationLib
  PcdLib
  UefiDriverEntryPoint
  TdxLib
  HobLib
  TdxMailboxLib
  MemEncryptTdxLib

[Depex]
  TRUE

[Guids]
  gUefiOvmfPkgPlatformInfoGuid                      ## CONSUMES

[Protocols]
  gQemuAcpiTableNotifyProtocolGuid                 ## CONSUMES
  gEfiAcpiSdtProtocolGuid                          ## CONSUMES
  gEfiAcpiTableProtocolGuid                        ## CONSUMES
  gEfiMpInitLibMpDepProtocolGuid
  gEfiMpInitLibUpDepProtocolGuid
  gEdkiiMemoryAcceptProtocolGuid

[Pcd]
  gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase
  gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize
  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base
  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size
  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base
  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId
  gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber
  gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber
  gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
  gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr
  gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask
  gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack
  gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
  gUefiOvmfPkgTokenSpaceGuid.PcdTdxAcceptPageSize