]>
Commit | Line | Data |
---|---|---|
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 |
80ee06ce | 28 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r |
22455087 | 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 |
ef42ef7e | 39 | ArmGenericTimerCounterLib|ArmVirtPkg/Library/XenArmGenericTimerVirtCounterLib/XenArmGenericTimerVirtCounterLib.inf\r |
550eaa4a | 40 | ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r |
5db1cce1 AB |
41 | ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r |
42 | \r | |
22455087 AB |
43 | # Virtio Support\r |
44 | VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r | |
45 | VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf\r | |
46 | \r | |
496cf19a | 47 | ArmVirtMemInfoLib|ArmVirtPkg/Library/XenVirtMemInfoLib/XenVirtMemInfoLib.inf\r |
22455087 AB |
48 | \r |
49 | TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r | |
50 | \r | |
51 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
75e2d0e0 AB |
52 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r |
53 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r | |
54 | PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r | |
22455087 AB |
55 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r |
56 | \r | |
57 | [LibraryClasses.common.UEFI_DRIVER]\r | |
58 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r | |
59 | \r | |
e07092ed | 60 | [BuildOptions.common.EDKII.SEC, BuildOptions.common.EDKII.BASE]\r |
e07092ed AB |
61 | #\r |
62 | # CLANG38 with LTO support enabled uses the GNU GOLD linker, which insists\r | |
63 | # on emitting GOT based symbol references when running in shared mode, unless\r | |
64 | # we override visibility to 'hidden' in all modules that make up the PrePi\r | |
65 | # build.\r | |
66 | #\r | |
67 | GCC:*_CLANG38_*_CC_FLAGS = -include $(WORKSPACE)/ArmVirtPkg/Include/Platform/Hidden.h\r | |
87ee6390 | 68 | \r |
22455087 AB |
69 | ################################################################################\r |
70 | #\r | |
71 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
72 | #\r | |
73 | ################################################################################\r | |
74 | \r | |
75 | [PcdsFixedAtBuild.common]\r | |
22455087 AB |
76 | gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"\r |
77 | \r | |
78 | gArmPlatformTokenSpaceGuid.PcdCoreCount|1\r | |
79 | !if $(ARCH) == AARCH64\r | |
80 | gArmTokenSpaceGuid.PcdVFPEnabled|1\r | |
81 | !endif\r | |
82 | \r | |
83 | gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000\r | |
84 | \r | |
85 | # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r | |
86 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r | |
87 | \r | |
88 | #\r | |
89 | # ARM Virtual Architectural Timer\r | |
90 | #\r | |
91 | gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0\r | |
92 | \r | |
93 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r | |
75e2d0e0 | 94 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r |
22455087 AB |
95 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r |
96 | \r | |
75e2d0e0 AB |
97 | ## Default Terminal Type\r |
98 | ## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r | |
99 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4\r | |
100 | \r | |
101 | # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID\r | |
102 | gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}\r | |
103 | \r | |
22455087 AB |
104 | [PcdsPatchableInModule.common]\r |
105 | #\r | |
106 | # This will be overridden in the code\r | |
107 | #\r | |
108 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x0\r | |
109 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x0\r | |
7fbd1eb2 | 110 | gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x0\r |
22455087 AB |
111 | \r |
112 | gArmTokenSpaceGuid.PcdFdBaseAddress|0x0\r | |
113 | gArmTokenSpaceGuid.PcdFvBaseAddress|0x0\r | |
114 | \r | |
115 | [PcdsDynamicDefault.common]\r | |
22455087 AB |
116 | \r |
117 | gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0\r | |
118 | gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0\r | |
119 | gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0\r | |
120 | gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x0\r | |
121 | \r | |
122 | #\r | |
123 | # ARM General Interrupt Controller\r | |
124 | #\r | |
125 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x0\r | |
126 | gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0\r | |
127 | gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0\r | |
128 | \r | |
129 | ## PL031 RealTimeClock\r | |
130 | gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0\r | |
131 | \r | |
66b43839 | 132 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r |
22455087 AB |
133 | \r |
134 | ################################################################################\r | |
135 | #\r | |
136 | # Components Section - list of all EDK II Modules needed by this Platform\r | |
137 | #\r | |
138 | ################################################################################\r | |
139 | [Components.common]\r | |
140 | #\r | |
141 | # PEI Phase modules\r | |
142 | #\r | |
7fbd1eb2 | 143 | ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf {\r |
22455087 AB |
144 | <LibraryClasses>\r |
145 | ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r | |
9435a57e | 146 | LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r |
22455087 AB |
147 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r |
148 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r | |
149 | PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r | |
22455087 | 150 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r |
22455087 AB |
151 | SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf\r |
152 | }\r | |
153 | \r | |
154 | #\r | |
155 | # DXE\r | |
156 | #\r | |
157 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
158 | <LibraryClasses>\r | |
159 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r | |
f9dff902 | 160 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r |
22455087 | 161 | }\r |
31b3b02a AB |
162 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r |
163 | <LibraryClasses>\r | |
164 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
165 | }\r | |
22455087 AB |
166 | \r |
167 | #\r | |
168 | # Architectural Protocols\r | |
169 | #\r | |
170 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r | |
171 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r | |
172 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r | |
173 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
174 | \r | |
175 | MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r | |
176 | \r | |
177 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r | |
7b1dc6c5 | 178 | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r |
22455087 AB |
179 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r |
180 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r | |
181 | \r | |
182 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
183 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r | |
ad7f6bc2 | 184 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r |
22455087 AB |
185 | \r |
186 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
187 | \r | |
188 | ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r | |
ffced385 AB |
189 | ArmPkg/Drivers/TimerDxe/TimerDxe.inf {\r |
190 | <LibraryClasses>\r | |
191 | NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf\r | |
192 | }\r | |
22455087 AB |
193 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r |
194 | \r | |
195 | #\r | |
196 | # Platform Driver\r | |
197 | #\r | |
81996ba8 | 198 | ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.inf\r |
44b9e615 | 199 | ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf\r |
22455087 AB |
200 | \r |
201 | #\r | |
88fff4f6 | 202 | # FAT filesystem + GPT/MBR partitioning + UDF filesystem\r |
22455087 AB |
203 | #\r |
204 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r | |
205 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
206 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
42e3d9eb | 207 | FatPkg/EnhancedFatDxe/Fat.inf\r |
88fff4f6 | 208 | MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r |
22455087 AB |
209 | \r |
210 | #\r | |
211 | # Bds\r | |
212 | #\r | |
f9dff902 LE |
213 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r |
214 | <LibraryClasses>\r | |
215 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
216 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
217 | }\r | |
22455087 AB |
218 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r |
219 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r | |
75e2d0e0 AB |
220 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r |
221 | MdeModulePkg/Application/UiApp/UiApp.inf {\r | |
222 | <LibraryClasses>\r | |
223 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r | |
224 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r | |
225 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r | |
226 | }\r | |
22455087 AB |
227 | \r |
228 | OvmfPkg/XenBusDxe/XenBusDxe.inf\r | |
229 | OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r | |
402dde68 SZ |
230 | \r |
231 | #\r | |
232 | # ACPI support\r | |
233 | #\r | |
3a2c1548 | 234 | ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.inf\r |
01430be5 | 235 | !if $(ARCH) == AARCH64\r |
402dde68 SZ |
236 | ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf\r |
237 | !endif\r |