DSC_SPECIFICATION = 0x00010005\r
OUTPUT_DIRECTORY = Build/ArmVirtQemuKernel-$(ARCH)\r
SUPPORTED_ARCHITECTURES = AARCH64|ARM\r
- BUILD_TARGETS = DEBUG|RELEASE\r
+ BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
SKUID_IDENTIFIER = DEFAULT\r
FLASH_DEFINITION = ArmVirtPkg/ArmVirtQemuKernel.fdf\r
\r
# -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
QemuFwCfgLib|ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf\r
QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf\r
\r
- ArmPlatformLib|ArmVirtPkg/Library/ArmQemuRelocatablePlatformLib/ArmQemuRelocatablePlatformLib.inf\r
- ArmPlatformSysConfigLib|ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf\r
+ ArmVirtMemInfoLib|ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoLib.inf\r
\r
TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r
NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf\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]\r
- RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15 -I$(WORKSPACE)/ArmVirtPkg/Include\r
- GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a15 -I$(WORKSPACE)/ArmVirtPkg/Include\r
- *_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/ArmVirtPkg/Include\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
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
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
<LibraryClasses>\r
NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
+ NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf\r
+ # don't use unaligned CopyMem () on the UEFI varstore NOR flash region\r
+ BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
}\r
!if $(SECURE_BOOT_ENABLE) == TRUE\r
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\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
+!if $(NETWORK_IP6_ENABLE) == TRUE\r
+ NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
+ NetworkPkg/TcpDxe/TcpDxe.inf\r
+ NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
+ NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
+ NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
+ NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
+ NetworkPkg/IScsiDxe/IScsiDxe.inf\r
+!else\r
+ MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.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