TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r
NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf\r
\r
-!if $(INTEL_BDS) == TRUE\r
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
PlatformBdsLib|ArmVirtPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf\r
CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
-!endif\r
\r
[LibraryClasses.common.UEFI_DRIVER]\r
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
gArmVirtTokenSpaceGuid.PcdKludgeMapPciMmioAsCached|TRUE\r
\r
[PcdsFixedAtBuild.common]\r
- gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"QEMU"\r
-\r
gArmPlatformTokenSpaceGuid.PcdCoreCount|1\r
!if $(ARCH) == AARCH64\r
gArmTokenSpaceGuid.PcdVFPEnabled|1\r
## PL011 - Serial Terminal\r
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400\r
\r
- #\r
- # ARM OS Loader\r
- #\r
- gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux (EFI stub) on virtio31:hd0:part0"\r
- gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(837DCA9E-E874-4D82-B29A-23FE0E23D1E2,003E000A00000000)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/Image"\r
- gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"root=/dev/vda2 console=ttyAMA0 earlycon uefi_debug"\r
-\r
- #\r
- # Settings for ARM BDS -- use the serial console (ConIn & ConOut).\r
- #\r
-!if $(TTY_TERMINAL) == TRUE\r
- gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenMsg(7D916D80-5BB1-458C-A48F-E25FDD51EF94)"\r
- gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenMsg(7D916D80-5BB1-458C-A48F-E25FDD51EF94)"\r
- ## Terminal Type - TTYTERM, consistent with ConOut/ConIn Device Path.\r
+ ## Default Terminal Type\r
## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r
+!if $(TTY_TERMINAL) == TRUE\r
gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4\r
!else\r
- gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenVt100()"\r
- gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenVt100()"\r
- ## Terminal Type - VT100, consistent with ConOut/ConIn Device Path.\r
- ## When Intel BDS is enabled, the above ConOut/ConIn device path is useless,\r
- ## but we still use VT100 terminal type when TTY_TERMINAL is not TRUE.\r
- ## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r
gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r
!endif\r
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
# initial location of the device tree blob passed by QEMU -- base of DRAM\r
gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x40000000\r
\r
-!if $(INTEL_BDS) == TRUE\r
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
-!endif\r
\r
#\r
# The maximum physical I/O addressability of the processor, set with\r
gArmTokenSpaceGuid.PcdGicDistributorBase|0x0\r
gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0\r
gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0\r
+ gArmVirtTokenSpaceGuid.PcdArmGicRevision|0x0\r
\r
## PL031 RealTimeClock\r
gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0\r
\r
gArmVirtTokenSpaceGuid.PcdFwCfgSelectorAddress|0x0\r
gArmVirtTokenSpaceGuid.PcdFwCfgDataAddress|0x0\r
+ gArmVirtTokenSpaceGuid.PcdFwCfgDmaAddress|0x0\r
\r
#\r
# Set video resolution for boot options and for text setup.\r
gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
\r
+ #\r
+ # SMBIOS entry point version\r
+ #\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
+\r
################################################################################\r
#\r
# Components Section - list of all EDK II Modules needed by this Platform\r
#\r
ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
- MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
+ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
+ <LibraryClasses>\r
+ NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
+ }\r
!if $(SECURE_BOOT_ENABLE) == TRUE\r
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
<LibraryClasses>\r
# Platform Driver\r
#\r
ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.inf\r
- ArmVirtPkg/QemuFwCfgToPcdDxe/QemuFwCfgToPcd.inf\r
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
# Bds\r
#\r
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
-!if $(INTEL_BDS) == TRUE\r
MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
-!else\r
- ArmPlatformPkg/Bds/Bds.inf\r
-!endif\r
\r
#\r
# SCSI Bus and Disk Driver\r
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
\r
+ #\r
+ # SMBIOS Support\r
+ #\r
+ MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
+ <LibraryClasses>\r
+ NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
+ }\r
+ OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
+\r
#\r
# ACPI Support\r
#\r
MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
+\r
+[Components.ARM]\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
+ #\r
+ MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf\r
+ ArmPkg/Application/LinuxLoader/LinuxLoader.inf {\r
+ <LibraryClasses>\r
+ BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
+ }\r