]> git.proxmox.com Git - mirror_edk2.git/blame - ArmVirtPkg/ArmVirtXen.dsc
IntelFsp2WrapperPkg: Convert files to CRLF line ending
[mirror_edk2.git] / ArmVirtPkg / ArmVirtXen.dsc
CommitLineData
22455087 1#\r
7fbd1eb2 2# Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
22455087 3# Copyright (c) 2014, Linaro Limited. All rights reserved.\r
42e3d9eb 4# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
22455087
AB
5#\r
6# This program and the accompanying materials\r
7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14#\r
15\r
16################################################################################\r
17#\r
18# Defines Section - statements that will be processed to create a Makefile.\r
19#\r
20################################################################################\r
21[Defines]\r
7fbd1eb2 22 PLATFORM_NAME = ArmVirtXen\r
22455087
AB
23 PLATFORM_GUID = d1c43be3-3373-4a06-86fb-d1cb3083a207\r
24 PLATFORM_VERSION = 0.1\r
25 DSC_SPECIFICATION = 0x00010005\r
7fbd1eb2 26 OUTPUT_DIRECTORY = Build/ArmVirtXen-$(ARCH)\r
f7de74af 27 SUPPORTED_ARCHITECTURES = AARCH64|ARM\r
22455087
AB
28 BUILD_TARGETS = DEBUG|RELEASE\r
29 SKUID_IDENTIFIER = DEFAULT\r
7fbd1eb2 30 FLASH_DEFINITION = ArmVirtPkg/ArmVirtXen.fdf\r
22455087 31\r
7fbd1eb2 32!include ArmVirtPkg/ArmVirt.dsc.inc\r
22455087
AB
33\r
34[LibraryClasses]\r
35 SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf\r
7fbd1eb2 36 RealTimeClockLib|ArmVirtPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.inf\r
df040c00 37 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
22455087 38\r
550eaa4a 39 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
5db1cce1
AB
40 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
41\r
22455087
AB
42 # Virtio Support\r
43 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
44 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf\r
45\r
7fbd1eb2 46 ArmPlatformLib|ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/ArmXenRelocatablePlatformLib.inf\r
22455087
AB
47 ArmPlatformSysConfigLib|ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf\r
48\r
49 TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r
50\r
51 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
52 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
53 PlatformBdsLib|ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf\r
54 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
55\r
7ed84968
AB
56 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
57\r
22455087
AB
58[LibraryClasses.common.UEFI_DRIVER]\r
59 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
60\r
22455087 61[BuildOptions]\r
7fbd1eb2
OM
62 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15 -I$(WORKSPACE)/ArmVirtPkg/Include\r
63 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a15 -I$(WORKSPACE)/ArmVirtPkg/Include\r
64 GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/ArmVirtPkg/Include\r
d1c561f9 65\r
87ee6390
AB
66[BuildOptions.ARM.EDKII.SEC, BuildOptions.ARM.EDKII.BASE]\r
67 # Avoid MOVT/MOVW instruction pairs in code that may end up in the PIE\r
68 # executable we build for the relocatable PrePi. They are not runtime\r
69 # relocatable in ELF.\r
70 *_CLANG35_*_CC_FLAGS = -mno-movt\r
71\r
22455087
AB
72################################################################################\r
73#\r
74# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
75#\r
76################################################################################\r
77\r
78[PcdsFixedAtBuild.common]\r
22455087
AB
79 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"\r
80\r
81 gArmPlatformTokenSpaceGuid.PcdCoreCount|1\r
82!if $(ARCH) == AARCH64\r
83 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
84!endif\r
85\r
86 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000\r
87\r
88 # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r
89 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r
90\r
91 #\r
92 # ARM Virtual Architectural Timer\r
93 #\r
94 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0\r
95\r
96 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
97 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
98\r
99[PcdsPatchableInModule.common]\r
100 #\r
101 # This will be overridden in the code\r
102 #\r
103 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x0\r
104 gArmTokenSpaceGuid.PcdSystemMemorySize|0x0\r
7fbd1eb2 105 gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x0\r
22455087
AB
106\r
107 gArmTokenSpaceGuid.PcdFdBaseAddress|0x0\r
108 gArmTokenSpaceGuid.PcdFvBaseAddress|0x0\r
109\r
110[PcdsDynamicDefault.common]\r
22455087
AB
111\r
112 gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0\r
113 gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0\r
114 gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0\r
115 gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x0\r
116\r
117 #\r
118 # ARM General Interrupt Controller\r
119 #\r
120 gArmTokenSpaceGuid.PcdGicDistributorBase|0x0\r
121 gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0\r
122 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0\r
123\r
124 ## PL031 RealTimeClock\r
125 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0\r
126\r
66b43839 127 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
22455087
AB
128\r
129################################################################################\r
130#\r
131# Components Section - list of all EDK II Modules needed by this Platform\r
132#\r
133################################################################################\r
134[Components.common]\r
135 #\r
136 # PEI Phase modules\r
137 #\r
7fbd1eb2 138 ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf {\r
22455087
AB
139 <LibraryClasses>\r
140 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
9435a57e 141 LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
22455087
AB
142 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
143 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
144 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
22455087 145 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
22455087
AB
146 SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf\r
147 }\r
148\r
149 #\r
150 # DXE\r
151 #\r
152 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
153 <LibraryClasses>\r
154 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
155 }\r
31b3b02a
AB
156 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
157 <LibraryClasses>\r
158 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
159 }\r
22455087
AB
160\r
161 #\r
162 # Architectural Protocols\r
163 #\r
164 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
165 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
166 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
167 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
168\r
169 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
170\r
171 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
172 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
173 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
174 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
175\r
176 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
177 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
ad7f6bc2 178 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
22455087
AB
179\r
180 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
181\r
182 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
ffced385
AB
183 ArmPkg/Drivers/TimerDxe/TimerDxe.inf {\r
184 <LibraryClasses>\r
185 NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf\r
186 }\r
22455087
AB
187 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
188\r
189 #\r
190 # Platform Driver\r
191 #\r
81996ba8 192 ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.inf\r
44b9e615 193 ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf\r
22455087
AB
194\r
195 #\r
196 # FAT filesystem + GPT/MBR partitioning\r
197 #\r
198 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
199 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
200 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
42e3d9eb 201 FatPkg/EnhancedFatDxe/Fat.inf\r
22455087
AB
202\r
203 #\r
204 # Bds\r
205 #\r
206 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
207 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
208 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
209 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
210\r
211 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
212 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
402dde68
SZ
213\r
214 #\r
215 # ACPI support\r
216 #\r
217!if $(ARCH) == AARCH64\r
3a2c1548 218 ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.inf\r
402dde68
SZ
219 ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf\r
220!endif\r