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