]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ArmVirtPkg/ArmVirtXen.dsc
ShellPkg/Ls: sort output by FileName in non-SFO mode
[mirror_edk2.git] / ArmVirtPkg / ArmVirtXen.dsc
... / ...
CommitLineData
1#\r
2# Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
3# Copyright (c) 2014, Linaro Limited. All rights reserved.\r
4# Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>\r
5#\r
6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
7#\r
8#\r
9\r
10################################################################################\r
11#\r
12# Defines Section - statements that will be processed to create a Makefile.\r
13#\r
14################################################################################\r
15[Defines]\r
16 PLATFORM_NAME = ArmVirtXen\r
17 PLATFORM_GUID = d1c43be3-3373-4a06-86fb-d1cb3083a207\r
18 PLATFORM_VERSION = 0.1\r
19 DSC_SPECIFICATION = 0x00010005\r
20 OUTPUT_DIRECTORY = Build/ArmVirtXen-$(ARCH)\r
21 SUPPORTED_ARCHITECTURES = AARCH64|ARM\r
22 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
23 SKUID_IDENTIFIER = DEFAULT\r
24 FLASH_DEFINITION = ArmVirtPkg/ArmVirtXen.fdf\r
25\r
26!include ArmVirtPkg/ArmVirt.dsc.inc\r
27\r
28[LibraryClasses]\r
29 SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf\r
30 RealTimeClockLib|OvmfPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.inf\r
31 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
32\r
33 ArmGenericTimerCounterLib|ArmVirtPkg/Library/XenArmGenericTimerVirtCounterLib/XenArmGenericTimerVirtCounterLib.inf\r
34 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
35 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
36\r
37 # Virtio Support\r
38 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
39 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf\r
40\r
41 ArmVirtMemInfoLib|ArmVirtPkg/Library/XenVirtMemInfoLib/XenVirtMemInfoLib.inf\r
42\r
43 TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r
44\r
45 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
46 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
47 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
48 PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
49 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
50 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
51\r
52[LibraryClasses.common.UEFI_DRIVER]\r
53 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
54\r
55[BuildOptions]\r
56 #\r
57 # We need to avoid jump tables in SEC modules, so that the PE/COFF\r
58 # self-relocation code itself is guaranteed to be position independent.\r
59 #\r
60 GCC:*_*_*_CC_FLAGS = -fno-jump-tables\r
61\r
62################################################################################\r
63#\r
64# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
65#\r
66################################################################################\r
67\r
68[PcdsFixedAtBuild.common]\r
69 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"\r
70!if $(ARCH) == AARCH64\r
71 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
72!endif\r
73\r
74 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000\r
75\r
76 # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r
77 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r
78\r
79 #\r
80 # ARM Virtual Architectural Timer\r
81 #\r
82 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0\r
83\r
84 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
85 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
86\r
87 ## Default Terminal Type\r
88 ## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r
89 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4\r
90\r
91 #\r
92 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.\r
93 #\r
94 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE\r
95\r
96[PcdsPatchableInModule.common]\r
97 # we need to provide a resolution for this PCD that supports PcdSet64()\r
98 # being called from ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.c,\r
99 # even though that call will be compiled out on this platform as it does\r
100 # not (and cannot) support the TPM2 driver stack\r
101 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0\r
102\r
103 #\r
104 # This will be overridden in the code\r
105 #\r
106 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x0\r
107 gArmTokenSpaceGuid.PcdSystemMemorySize|0x0\r
108 gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x0\r
109\r
110 gArmTokenSpaceGuid.PcdFdBaseAddress|0x0\r
111 gArmTokenSpaceGuid.PcdFvBaseAddress|0x0\r
112\r
113[PcdsDynamicDefault.common]\r
114\r
115 gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0\r
116 gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0\r
117 gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0\r
118 gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x0\r
119\r
120 #\r
121 # ARM General Interrupt Controller\r
122 #\r
123 gArmTokenSpaceGuid.PcdGicDistributorBase|0x0\r
124 gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0\r
125 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0\r
126\r
127 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
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
138 ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf {\r
139 <LibraryClasses>\r
140 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
141 LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
142 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
143 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
144 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
145 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
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 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
156 }\r
157 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
158 <LibraryClasses>\r
159 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
160 }\r
161\r
162 #\r
163 # Architectural Protocols\r
164 #\r
165 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
166 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
167 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
168 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
169\r
170 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
171 <LibraryClasses>\r
172 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
173 }\r
174\r
175 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
176 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
177 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
178 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
179\r
180 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
181 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
182 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
183\r
184 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
185\r
186 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
187 ArmPkg/Drivers/TimerDxe/TimerDxe.inf {\r
188 <LibraryClasses>\r
189 NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf\r
190 }\r
191 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
192\r
193 #\r
194 # Platform Driver\r
195 #\r
196 ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.inf\r
197 ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf\r
198\r
199 #\r
200 # FAT filesystem + GPT/MBR partitioning + UDF filesystem\r
201 #\r
202 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
203 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
204 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
205 FatPkg/EnhancedFatDxe/Fat.inf\r
206 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
207\r
208 #\r
209 # Bds\r
210 #\r
211 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
212 <LibraryClasses>\r
213 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
214 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
215 }\r
216 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
217 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
218 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
219 MdeModulePkg/Application/UiApp/UiApp.inf {\r
220 <LibraryClasses>\r
221 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
222 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
223 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
224 }\r
225\r
226 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
227 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
228\r
229 #\r
230 # ACPI support\r
231 #\r
232 ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.inf\r
233!if $(ARCH) == AARCH64\r
234 ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf\r
235!endif\r