]> git.proxmox.com Git - mirror_edk2.git/blame - StandaloneMmPkg/StandaloneMmPkg.dsc
StandaloneMmPkg: Describe the declaration and definition files.
[mirror_edk2.git] / StandaloneMmPkg / StandaloneMmPkg.dsc
CommitLineData
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
65 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuStandaloneMmCoreLib.inf\r
66 ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf\r
67 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
68 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
69 PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf\r
70 # ARM PL011 UART Driver\r
71 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf\r
72\r
73 StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf\r
74\r
75################################################################################\r
76#\r
77# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
78#\r
79################################################################################\r
80[PcdsFeatureFlag]\r
81 gStandaloneMmPkgTokenSpaceGuid.PcdStandaloneMmEnable|TRUE\r
82\r
83[PcdsFixedAtBuild]\r
84 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800000CF\r
85 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff\r
86 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r
87\r
88[PcdsFixedAtBuild.AARCH64]\r
89 ## PL011 - Serial Terminal\r
90 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c0b0000\r
91 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200\r
92\r
93###################################################################################################\r
94#\r
95# Components Section - list of the modules and components that will be processed by compilation\r
96# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
97#\r
98# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
99# into firmware volume images. This section is just a list of modules to compile from\r
100# source into UEFI-compliant binaries.\r
101# It is the FDF file that contains information on combining binary files into firmware\r
102# volume images, whose concept is beyond UEFI and is described in PI specification.\r
103# Binary modules do not need to be listed in this section, as they should be\r
104# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
105# Logo (Logo.bmp), and etc.\r
106# There may also be modules listed in this section that are not required in the FDF file,\r
107# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
108# generated for it, but the binary will not be put into any firmware volume.\r
109#\r
110###################################################################################################\r
111[Components.common]\r
112 #\r
113 # MM Core\r
114 #\r
115 StandaloneMmPkg/Core/StandaloneMmCore.inf\r
116\r
117[Components.AARCH64]\r
118 StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf\r
119\r
120###################################################################################################\r
121#\r
122# BuildOptions Section - Define the module specific tool chain flags that should be used as\r
123# the default flags for a module. These flags are appended to any\r
124# standard flags that are defined by the build process. They can be\r
125# applied for any modules or only those modules with the specific\r
126# module style (EDK or EDKII) specified in [Components] section.\r
127#\r
128###################################################################################################\r
129[BuildOptions.AARCH64]\r
130GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv8-a+nofp\r