#\r
# Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
# Copyright (c) 2014, Linaro Limited. All rights reserved.\r
-# Copyright (c) 2015, Intel Corporation. All rights reserved.\r
+# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# -D FLAG=VALUE\r
#\r
DEFINE SECURE_BOOT_ENABLE = FALSE\r
+ DEFINE PURE_ACPI_BOOT_ENABLE = FALSE\r
\r
!include ArmVirtPkg/ArmVirt.dsc.inc\r
\r
PlatformBdsLib|ArmVirtPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf\r
CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
+!if $(SECURE_BOOT_ENABLE) == TRUE\r
+ FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
+!endif\r
\r
[LibraryClasses.common.UEFI_DRIVER]\r
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
# Activate KVM workaround for now.\r
gArmVirtTokenSpaceGuid.PcdKludgeMapPciMmioAsCached|TRUE\r
\r
+!if $(PURE_ACPI_BOOT_ENABLE) == TRUE\r
+ gArmVirtTokenSpaceGuid.PcdPureAcpiBoot|TRUE\r
+!endif\r
+\r
[PcdsFixedAtBuild.common]\r
gArmPlatformTokenSpaceGuid.PcdCoreCount|1\r
!if $(ARCH) == AARCH64\r
# support anything bigger, even if the host hardware does\r
gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|40\r
\r
+ # Clearing BIT0 in this PCD prevents installing a 32-bit SMBIOS entry point,\r
+ # if the entry point version is >= 3.0. AARCH64 OSes cannot assume the\r
+ # presence of the 32-bit entry point anyway (because many AARCH64 systems\r
+ # don't have 32-bit addressable physical RAM), and the additional allocations\r
+ # below 4 GB needlessly fragment the memory map. So expose the 64-bit entry\r
+ # point only, for entry point versions >= 3.0.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2\r
+\r
+ # ACPI predates the AARCH64 architecture by 5 versions, so\r
+ # we only target OSes that support ACPI v5.0 or later\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20\r
+\r
[PcdsDynamicDefault.common]\r
## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI\r
# enumeration to complete before installing ACPI tables.\r
#\r
# PEI Phase modules\r
#\r
- ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {\r
+ ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf\r
+ MdeModulePkg/Core/Pei/PeiMain.inf\r
+ MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
<LibraryClasses>\r
- ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
}\r
- MdeModulePkg/Core/Pei/PeiMain.inf\r
- MdeModulePkg/Universal/PCD/Pei/Pcd.inf\r
ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r
ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r
ArmPkg/Drivers/CpuPei/CpuPei.inf\r
<LibraryClasses>\r
NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
}\r
- MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
+ MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
+ <LibraryClasses>\r
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
+ }\r
\r
#\r
# Architectural Protocols\r
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
- EmbeddedPkg/SerialDxe/SerialDxe.inf\r
+ MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
\r
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
\r
# Platform Driver\r
#\r
ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.inf\r
+ ArmVirtPkg/HighMemDxe/HighMemDxe.inf\r
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
+ OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
\r
#\r
# FAT filesystem + GPT/MBR partitioning\r
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
+ FatPkg/EnhancedFatDxe/Fat.inf\r
\r
#\r
# Bds\r
}\r
OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
\r
- #\r
- # ACPI Support\r
- #\r
- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
- OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf\r
-\r
#\r
# PCI support\r
#\r
ArmVirtPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
+ OvmfPkg/Virtio10Dxe/Virtio10.inf\r
\r
#\r
# Video support\r
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
\r
-[Components.ARM]\r
+[Components.AARCH64]\r
#\r
- # The ARM/Linux kernel has no built in EFI boot stub (yet), so we still need\r
- # an intermediate OS loader. Add the LinuxLoader UEFI application so we can\r
- # invoke it from the shell.\r
+ # ACPI Support\r
#\r
- MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf\r
- ArmPkg/Application/LinuxLoader/LinuxLoader.inf {\r
- <LibraryClasses>\r
- BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
- }\r
+ MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
+ OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf\r