SecMain.inf 2.41 KB
Newer Older
lgao4's avatar
lgao4 committed
1
## @file
2
3
#  SEC Driver
#
4
#  Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
5
#
6
#  SPDX-License-Identifier: BSD-2-Clause-Patent
7
#
lgao4's avatar
lgao4 committed
8
##
9
10
11
12
13
14
15
16
17
18
19
20

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = SecMain
  FILE_GUID                      = df1ccef6-f301-4a63-9661-fc6030dcc880
  MODULE_TYPE                    = SEC
  VERSION_STRING                 = 1.0
  ENTRY_POINT                    = SecMain

#
# The following information is for reference only and not required by the build tools.
#
21
#  VALID_ARCHITECTURES           = IA32 X64 EBC
22
23
#

lgao4's avatar
lgao4 committed
24
[Sources]
25
  SecMain.c
26
27
  AmdSev.c
  AmdSev.h
28
29

[Sources.IA32]
30
  Ia32/SecEntry.nasm
31
32

[Sources.X64]
33
  X64/SecEntry.nasm
34
35
36

[Packages]
  MdePkg/MdePkg.dec
37
  MdeModulePkg/MdeModulePkg.dec
38
  UefiCpuPkg/UefiCpuPkg.dec
39
40
41
42
  OvmfPkg/OvmfPkg.dec

[LibraryClasses]
  BaseLib
43
  DebugLib
44
  BaseMemoryLib
45
  PeiServicesLib
46
  PcdLib
47
  CpuLib
48
  UefiCpuLib
49
50
51
52
53
54
  DebugAgentLib
  IoLib
  PeCoffLib
  PeCoffGetEntryPointLib
  PeCoffExtraActionLib
  ExtractGuidedSectionLib
55
  LocalApicLib
56
  MemEncryptSevLib
57
  CpuExceptionHandlerLib
58
  CcProbeLib
59
60
61
62

[Ppis]
  gEfiTemporaryRamSupportPpiGuid                # PPI ALWAYS_PRODUCED

63
[Pcd]
64
  gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase
65
66
67
68
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
69
70
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBase
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbSize
71
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase
72
73
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
74
75
  gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress
  gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
76
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDecompressionScratchEnd
77
  gEfiMdeModulePkgTokenSpaceGuid.PcdInitValueInTempStack
78
79
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfConfidentialComputingWorkAreaHeader
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase
80
81
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecValidatedStart
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecValidatedEnd
Min Xu's avatar
Min Xu committed
82
83
84
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase
  gUefiOvmfPkgTokenSpaceGuid.PcdTdxAcceptPageSize
  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase
85
86
87

[FeaturePcd]
  gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire