]> git.proxmox.com Git - mirror_edk2.git/blob - StandaloneMmPkg/StandaloneMmPkg.dsc
StandaloneMmPkg: Remove StandaloneMmDriverEntryPoint.h
[mirror_edk2.git] / StandaloneMmPkg / StandaloneMmPkg.dsc
1 ## @file
2 # Standalone MM Platform.
3 #
4 # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
5 # Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR>
6 # Copyright (C) Microsoft Corporation<BR>
7 #
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #
10 ##
11
12 ################################################################################
13 #
14 # Defines Section - statements that will be processed to create a Makefile.
15 #
16 ################################################################################
17 [Defines]
18 PLATFORM_NAME = StandaloneMm
19 PLATFORM_GUID = 9A4BBA60-B4F9-47C7-9258-3BD77CAE9322
20 PLATFORM_VERSION = 1.0
21 DSC_SPECIFICATION = 0x00010011
22 OUTPUT_DIRECTORY = Build/StandaloneMm
23 SUPPORTED_ARCHITECTURES = AARCH64|X64
24 BUILD_TARGETS = DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26
27 # LzmaF86
28 DEFINE COMPRESSION_TOOL_GUID = D42AE6BD-1352-4bfb-909A-CA72A6EAE889
29
30 ################################################################################
31 #
32 # Library Class section - list of all Library Classes needed by this Platform.
33 #
34 ################################################################################
35 [LibraryClasses]
36 #
37 # Basic
38 #
39 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
40 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
41 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
42 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
43 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
44 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
45 FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf
46 HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
47 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
48 MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
49 MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf
50 MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
51 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
52 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
53 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
54 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
55 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
56 StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
57 StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
58 VariableMmDependency|StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf
59
60 [LibraryClasses.AARCH64]
61 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
62 StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf
63 ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
64 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
65 PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
66
67 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
68 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
69
70 [LibraryClasses.common.MM_CORE_STANDALONE]
71 HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf
72
73 [LibraryClasses.common.MM_STANDALONE]
74 MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
75
76 ################################################################################
77 #
78 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
79 #
80 ################################################################################
81 [PcdsFixedAtBuild]
82 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800000CF
83 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff
84 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
85
86 ###################################################################################################
87 #
88 # Components Section - list of the modules and components that will be processed by compilation
89 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
90 #
91 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
92 # into firmware volume images. This section is just a list of modules to compile from
93 # source into UEFI-compliant binaries.
94 # It is the FDF file that contains information on combining binary files into firmware
95 # volume images, whose concept is beyond UEFI and is described in PI specification.
96 # Binary modules do not need to be listed in this section, as they should be
97 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
98 # Logo (Logo.bmp), and etc.
99 # There may also be modules listed in this section that are not required in the FDF file,
100 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
101 # generated for it, but the binary will not be put into any firmware volume.
102 #
103 ###################################################################################################
104 [Components.common]
105 #
106 # MM Core
107 #
108 StandaloneMmPkg/Core/StandaloneMmCore.inf
109 StandaloneMmPkg/Library/FvLib/FvLib.inf
110 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
111 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf
112 StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf
113 StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
114 StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
115 StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
116 StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf
117
118 [Components.AARCH64]
119 StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf
120 StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
121
122 ###################################################################################################
123 #
124 # BuildOptions Section - Define the module specific tool chain flags that should be used as
125 # the default flags for a module. These flags are appended to any
126 # standard flags that are defined by the build process. They can be
127 # applied for any modules or only those modules with the specific
128 # module style (EDK or EDKII) specified in [Components] section.
129 #
130 ###################################################################################################
131 [BuildOptions.AARCH64]
132 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv8-a+nofp -mstrict-align
133 GCC:*_*_*_CC_FLAGS = -mstrict-align
134
135 [BuildOptions.X64]
136 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
137 GCC:*_GCC*_*_DLINK_FLAGS = -z common-page-size=0x1000