1 | ## @file
|
---|
2 | # SEC Driver
|
---|
3 | #
|
---|
4 | # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
5 | #
|
---|
6 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
7 | #
|
---|
8 | ##
|
---|
9 |
|
---|
10 | [Defines]
|
---|
11 | INF_VERSION = 0x00010005
|
---|
12 | BASE_NAME = SecMain
|
---|
13 | FILE_GUID = df1ccef6-f301-4a63-9661-fc6030dcc880
|
---|
14 | MODULE_TYPE = SEC
|
---|
15 | VERSION_STRING = 1.0
|
---|
16 | ENTRY_POINT = SecMain
|
---|
17 |
|
---|
18 | #
|
---|
19 | # The following information is for reference only and not required by the build tools.
|
---|
20 | #
|
---|
21 | # VALID_ARCHITECTURES = IA32 X64 EBC
|
---|
22 | #
|
---|
23 |
|
---|
24 | [Sources]
|
---|
25 | SecMain.c
|
---|
26 | AmdSev.c
|
---|
27 | AmdSev.h
|
---|
28 |
|
---|
29 | [Sources.IA32]
|
---|
30 | Ia32/SecEntry.nasm
|
---|
31 |
|
---|
32 | [Sources.X64]
|
---|
33 | X64/SecEntry.nasm
|
---|
34 |
|
---|
35 | [Packages]
|
---|
36 | MdePkg/MdePkg.dec
|
---|
37 | MdeModulePkg/MdeModulePkg.dec
|
---|
38 | UefiCpuPkg/UefiCpuPkg.dec
|
---|
39 | OvmfPkg/OvmfPkg.dec
|
---|
40 |
|
---|
41 | [LibraryClasses]
|
---|
42 | BaseLib
|
---|
43 | DebugLib
|
---|
44 | BaseMemoryLib
|
---|
45 | PeiServicesLib
|
---|
46 | PcdLib
|
---|
47 | CpuLib
|
---|
48 | DebugAgentLib
|
---|
49 | IoLib
|
---|
50 | PeCoffLib
|
---|
51 | PeCoffGetEntryPointLib
|
---|
52 | PeCoffExtraActionLib
|
---|
53 | ExtractGuidedSectionLib
|
---|
54 | LocalApicLib
|
---|
55 | MemEncryptSevLib
|
---|
56 | CpuExceptionHandlerLib
|
---|
57 | CcProbeLib
|
---|
58 |
|
---|
59 | [Ppis]
|
---|
60 | gEfiTemporaryRamSupportPpiGuid # PPI ALWAYS_PRODUCED
|
---|
61 | gEfiPeiMpInitLibMpDepPpiGuid
|
---|
62 | gEfiPeiMpInitLibUpDepPpiGuid
|
---|
63 |
|
---|
64 | [Pcd]
|
---|
65 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase
|
---|
66 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase
|
---|
67 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
---|
68 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase
|
---|
69 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
---|
70 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBase
|
---|
71 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbSize
|
---|
72 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase
|
---|
73 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase
|
---|
74 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
|
---|
75 | gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress
|
---|
76 | gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
|
---|
77 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDecompressionScratchEnd
|
---|
78 | gEfiMdeModulePkgTokenSpaceGuid.PcdInitValueInTempStack
|
---|
79 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfConfidentialComputingWorkAreaHeader
|
---|
80 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase
|
---|
81 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecValidatedStart
|
---|
82 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecValidatedEnd
|
---|
83 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase
|
---|
84 | gUefiOvmfPkgTokenSpaceGuid.PcdTdxAcceptPageSize
|
---|
85 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase
|
---|
86 |
|
---|
87 | [FeaturePcd]
|
---|
88 | gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
|
---|