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