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