Skip to content

Commit

Permalink
ArmVirtualizationPkg: add simple ACPI Platform Driver to the QEMU pla…
Browse files Browse the repository at this point in the history
…tform

Introduce an ACPI platform driver for ARM / AARCH64 virtual machines.
"OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf" downloads ACPI
blobs from QEMU over fw_cfg, processes them, and installs the resultant
ACPI tables.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
Reviewed-by: Olivier Martin <[email protected]>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16698 6f19259b-4bc3-4df7-8a09-765794883524
  • Loading branch information
lersek authored and lersek committed Feb 2, 2015
1 parent 48b8508 commit 1c5adbe
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf

UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf

#
# Allow dynamic PCDs
Expand Down
6 changes: 6 additions & 0 deletions ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,9 @@
#
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf

#
# ACPI Support
#
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf
6 changes: 6 additions & 0 deletions ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ READ_LOCK_STATUS = TRUE
INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf

#
# ACPI Support
#
INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
INF OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf

[FV.FVMAIN_COMPACT]
FvAlignment = 16
ERASE_POLARITY = 1
Expand Down

0 comments on commit 1c5adbe

Please sign in to comment.