# -D FLAG=VALUE\r
#\r
DEFINE SECURE_BOOT_ENABLE = FALSE\r
+ DEFINE NETWORK_IP6_ENABLE = FALSE\r
DEFINE HTTP_BOOT_ENABLE = FALSE\r
\r
!include ArmVirtPkg/ArmVirt.dsc.inc\r
BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
+ FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
PciPcdProducerLib|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf\r
PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
PciHostBridgeLib|ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf\r
\r
-!if $(HTTP_BOOT_ENABLE) == TRUE\r
- HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf\r
-!endif\r
-\r
[LibraryClasses.common.UEFI_DRIVER]\r
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
\r
-[BuildOptions.ARM.EDKII.SEC, BuildOptions.ARM.EDKII.BASE]\r
- # Avoid MOVT/MOVW instruction pairs in code that may end up in the PIE\r
- # executable we build for the relocatable PrePi. They are not runtime\r
- # relocatable in ELF.\r
- *_CLANG35_*_CC_FLAGS = -mno-movt\r
+[BuildOptions.common.EDKII.SEC, BuildOptions.common.EDKII.BASE]\r
+ #\r
+ # CLANG38 with LTO support enabled uses the GNU GOLD linker, which insists\r
+ # on emitting GOT based symbol references when running in shared mode, unless\r
+ # we override visibility to 'hidden' in all modules that make up the PrePi\r
+ # build.\r
+ #\r
+ GCC:*_CLANG38_*_CC_FLAGS = -include $(WORKSPACE)/ArmVirtPkg/Include/Platform/Hidden.h\r
\r
################################################################################\r
#\r
gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
!endif\r
\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
+\r
+ #\r
+ # The maximum physical I/O addressability of the processor, set with\r
+ # BuildCpuHob().\r
+ #\r
+ gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16\r
+\r
[PcdsPatchableInModule.common]\r
#\r
# This will be overridden in the code\r
gArmTokenSpaceGuid.PcdFdBaseAddress|0x0\r
gArmTokenSpaceGuid.PcdFvBaseAddress|0x0\r
\r
-[PcdsFixedAtBuild.AARCH64]\r
-\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
-\r
- #\r
- # The maximum physical I/O addressability of the processor, set with\r
- # BuildCpuHob().\r
- #\r
- gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16\r
-\r
- # KVM limits it IPA space to 40 bits (1 TB), so there is no need to\r
- # support anything bigger, even if the host hardware does\r
- gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|40\r
-\r
[PcdsDynamicDefault.common]\r
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
\r
MdeModulePkg/Core/Dxe/DxeMain.inf {\r
<LibraryClasses>\r
NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
+ DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
}\r
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
<LibraryClasses>\r
#\r
# Bds\r
#\r
- MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
+ MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
+ <LibraryClasses>\r
+ DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
+ }\r
MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
- MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
- MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
- MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
+ NetworkPkg/TcpDxe/TcpDxe.inf\r
+ NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
+ NetworkPkg/IScsiDxe/IScsiDxe.inf\r
+!if $(NETWORK_IP6_ENABLE) == TRUE\r
+ NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
+ NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
+ NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
+ NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
+!endif\r
!if $(HTTP_BOOT_ENABLE) == TRUE\r
NetworkPkg/DnsDxe/DnsDxe.inf\r
NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
#\r
# Video support\r
#\r
+ OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
OvmfPkg/PlatformDxe/Platform.inf\r
\r