]>
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 | |
5 | # Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>\r | |
6 | #\r | |
7 | # This program and the accompanying materials\r | |
8 | # are licensed and made available under the terms and conditions of the BSD License\r | |
9 | # which accompanies this distribution. The full text of the license may be found at\r | |
10 | # http://opensource.org/licenses/bsd-license.php\r | |
11 | #\r | |
12 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | #\r | |
15 | ##\r | |
16 | \r | |
17 | ################################################################################\r | |
18 | #\r | |
19 | # Defines Section - statements that will be processed to create a Makefile.\r | |
20 | #\r | |
21 | ################################################################################\r | |
22 | [Defines]\r | |
23 | PLATFORM_NAME = StandaloneMm\r | |
24 | PLATFORM_GUID = 9A4BBA60-B4F9-47C7-9258-3BD77CAE9322\r | |
25 | PLATFORM_VERSION = 1.0\r | |
26 | DSC_SPECIFICATION = 0x00010011\r | |
27 | OUTPUT_DIRECTORY = Build/StandaloneMm\r | |
28 | SUPPORTED_ARCHITECTURES = IA32|X64|AARCH64\r | |
29 | BUILD_TARGETS = DEBUG|RELEASE\r | |
30 | SKUID_IDENTIFIER = DEFAULT\r | |
31 | \r | |
32 | # LzmaF86\r | |
33 | DEFINE COMPRESSION_TOOL_GUID = D42AE6BD-1352-4bfb-909A-CA72A6EAE889\r | |
34 | \r | |
35 | ################################################################################\r | |
36 | #\r | |
37 | # Library Class section - list of all Library Classes needed by this Platform.\r | |
38 | #\r | |
39 | ################################################################################\r | |
40 | [LibraryClasses]\r | |
41 | #\r | |
42 | # Basic\r | |
43 | #\r | |
44 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
45 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
46 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
47 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
48 | FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf\r | |
49 | HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf\r | |
50 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
51 | MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf\r | |
52 | MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf\r | |
53 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
54 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
55 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
56 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r | |
57 | \r | |
58 | #\r | |
59 | # Entry point\r | |
60 | #\r | |
61 | StandaloneMmDriverEntryPoint|StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r | |
62 | \r | |
63 | [LibraryClasses.AARCH64]\r | |
64 | ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r | |
16583ecc | 65 | StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf\r |
da417eb8 SV |
66 | ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf\r |
67 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
0d1fb6cc | 68 | PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf\r |
da417eb8 | 69 | PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf\r |
4ceb9c01 | 70 | PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf\r |
da417eb8 SV |
71 | # ARM PL011 UART Driver\r |
72 | SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf\r | |
73 | \r | |
74 | StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf\r | |
75 | \r | |
76 | ################################################################################\r | |
77 | #\r | |
78 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
79 | #\r | |
80 | ################################################################################\r | |
81 | [PcdsFeatureFlag]\r | |
82 | gStandaloneMmPkgTokenSpaceGuid.PcdStandaloneMmEnable|TRUE\r | |
83 | \r | |
84 | [PcdsFixedAtBuild]\r | |
85 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800000CF\r | |
86 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff\r | |
87 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r | |
88 | \r | |
89 | [PcdsFixedAtBuild.AARCH64]\r | |
90 | ## PL011 - Serial Terminal\r | |
91 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c0b0000\r | |
92 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200\r | |
93 | \r | |
94 | ###################################################################################################\r | |
95 | #\r | |
96 | # Components Section - list of the modules and components that will be processed by compilation\r | |
97 | # tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r | |
98 | #\r | |
99 | # Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r | |
100 | # into firmware volume images. This section is just a list of modules to compile from\r | |
101 | # source into UEFI-compliant binaries.\r | |
102 | # It is the FDF file that contains information on combining binary files into firmware\r | |
103 | # volume images, whose concept is beyond UEFI and is described in PI specification.\r | |
104 | # Binary modules do not need to be listed in this section, as they should be\r | |
105 | # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r | |
106 | # Logo (Logo.bmp), and etc.\r | |
107 | # There may also be modules listed in this section that are not required in the FDF file,\r | |
108 | # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r | |
109 | # generated for it, but the binary will not be put into any firmware volume.\r | |
110 | #\r | |
111 | ###################################################################################################\r | |
112 | [Components.common]\r | |
113 | #\r | |
114 | # MM Core\r | |
115 | #\r | |
116 | StandaloneMmPkg/Core/StandaloneMmCore.inf\r | |
117 | \r | |
118 | [Components.AARCH64]\r | |
119 | StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf\r | |
120 | \r | |
121 | ###################################################################################################\r | |
122 | #\r | |
123 | # BuildOptions Section - Define the module specific tool chain flags that should be used as\r | |
124 | # the default flags for a module. These flags are appended to any\r | |
125 | # standard flags that are defined by the build process. They can be\r | |
126 | # applied for any modules or only those modules with the specific\r | |
127 | # module style (EDK or EDKII) specified in [Components] section.\r | |
128 | #\r | |
129 | ###################################################################################################\r | |
130 | [BuildOptions.AARCH64]\r | |
f8943176 AG |
131 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv8-a+nofp -mstrict-align\r |
132 | GCC:*_*_*_CC_FLAGS = -mstrict-align\r |