]> git.proxmox.com Git - mirror_edk2.git/blame - ArmVirtPkg/ArmVirtXen.dsc
NetworkPkg: Fix PXEv6 boot failure when DhcpBinl offer received.
[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
56[LibraryClasses.common.UEFI_DRIVER]\r
57 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
58\r
22455087 59[BuildOptions]\r
7fbd1eb2
OM
60 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15 -I$(WORKSPACE)/ArmVirtPkg/Include\r
61 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a15 -I$(WORKSPACE)/ArmVirtPkg/Include\r
62 GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/ArmVirtPkg/Include\r
d1c561f9 63\r
87ee6390
AB
64[BuildOptions.ARM.EDKII.SEC, BuildOptions.ARM.EDKII.BASE]\r
65 # Avoid MOVT/MOVW instruction pairs in code that may end up in the PIE\r
66 # executable we build for the relocatable PrePi. They are not runtime\r
67 # relocatable in ELF.\r
68 *_CLANG35_*_CC_FLAGS = -mno-movt\r
69\r
22455087
AB
70################################################################################\r
71#\r
72# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
73#\r
74################################################################################\r
75\r
76[PcdsFixedAtBuild.common]\r
22455087
AB
77 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"\r
78\r
79 gArmPlatformTokenSpaceGuid.PcdCoreCount|1\r
80!if $(ARCH) == AARCH64\r
81 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
82!endif\r
83\r
84 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000\r
85\r
86 # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r
87 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r
88\r
89 #\r
90 # ARM Virtual Architectural Timer\r
91 #\r
92 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0\r
93\r
94 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
95 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
96\r
97[PcdsPatchableInModule.common]\r
98 #\r
99 # This will be overridden in the code\r
100 #\r
101 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x0\r
102 gArmTokenSpaceGuid.PcdSystemMemorySize|0x0\r
7fbd1eb2 103 gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x0\r
22455087
AB
104\r
105 gArmTokenSpaceGuid.PcdFdBaseAddress|0x0\r
106 gArmTokenSpaceGuid.PcdFvBaseAddress|0x0\r
107\r
108[PcdsDynamicDefault.common]\r
22455087
AB
109\r
110 gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0\r
111 gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0\r
112 gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0\r
113 gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x0\r
114\r
115 #\r
116 # ARM General Interrupt Controller\r
117 #\r
118 gArmTokenSpaceGuid.PcdGicDistributorBase|0x0\r
119 gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0\r
120 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0\r
121\r
122 ## PL031 RealTimeClock\r
123 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0\r
124\r
66b43839 125 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
22455087
AB
126\r
127################################################################################\r
128#\r
129# Components Section - list of all EDK II Modules needed by this Platform\r
130#\r
131################################################################################\r
132[Components.common]\r
133 #\r
134 # PEI Phase modules\r
135 #\r
7fbd1eb2 136 ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf {\r
22455087
AB
137 <LibraryClasses>\r
138 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
9435a57e 139 LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
22455087
AB
140 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
141 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
142 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
22455087 143 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
22455087
AB
144 SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf\r
145 }\r
146\r
147 #\r
148 # DXE\r
149 #\r
150 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
151 <LibraryClasses>\r
152 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
153 }\r
31b3b02a
AB
154 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
155 <LibraryClasses>\r
156 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
157 }\r
22455087
AB
158\r
159 #\r
160 # Architectural Protocols\r
161 #\r
162 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
163 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
164 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
165 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
166\r
167 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
168\r
169 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
170 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
171 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
172 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
173\r
174 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
175 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
ad7f6bc2 176 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
22455087
AB
177\r
178 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
179\r
180 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
ffced385
AB
181 ArmPkg/Drivers/TimerDxe/TimerDxe.inf {\r
182 <LibraryClasses>\r
183 NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf\r
184 }\r
22455087
AB
185 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
186\r
187 #\r
188 # Platform Driver\r
189 #\r
81996ba8 190 ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.inf\r
44b9e615 191 ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf\r
22455087
AB
192\r
193 #\r
194 # FAT filesystem + GPT/MBR partitioning\r
195 #\r
196 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
197 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
198 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
42e3d9eb 199 FatPkg/EnhancedFatDxe/Fat.inf\r
22455087
AB
200\r
201 #\r
202 # Bds\r
203 #\r
204 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
205 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
206 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
207 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
208\r
209 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
210 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
402dde68
SZ
211\r
212 #\r
213 # ACPI support\r
214 #\r
215!if $(ARCH) == AARCH64\r
3a2c1548 216 ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.inf\r
402dde68
SZ
217 ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf\r
218!endif\r