audk/ArmVirtPkg
Ard Biesheuvel 7e5f1b6738 ArmVirtPkg/PlatformHasAcpiDtDxe: allow guest level ACPI disable override
In general, we should not present two separate (and inevitably different)
hardware descriptions to the OS, in the form of ACPI tables and a device
tree blob. For this reason, we recently added the logic to ArmVirtQemu to
only expose the ACPI 2.0 entry point if no DT binary is being passed, and
vice versa.

However, this is arguably a regression for those who relied on DT
descriptions being available, even if the former behavior can be
restored by passing the -no-acpi switch to QEMU.

So allow a secret handshake with the UEFI Shell, to set a variable that
will result in ACPI to be disabled on subsequent boots even if -no-acpi
was not passed on the QEMU command line.

  setvar -nv -bs -guid 50bea1e5-a2c5-46e9-9b3a-59596516b00a ForceNoAcpi =01

To delete the variable and revert to the old situation, simply omit the
value after the =

  setvar -nv -bs -guid 50bea1e5-a2c5-46e9-9b3a-59596516b00a ForceNoAcpi =

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
2017-03-31 11:44:36 +01:00
..
FdtClientDxe ArmVirtPkg/FdtClientDxe: install DT as sysconfig table in protocol notify 2017-03-28 14:18:47 +02:00
HighMemDxe ArmVirtPkg/HighMemDxe: check new regions against GCD memory space map 2017-03-21 10:41:25 +00:00
Include ArmVirtPkg/FdtClientDxe: add methods to iterate over memory nodes 2016-09-15 15:39:29 +01:00
Library ArmVirtPkg/ArmVirtQemu: refer to Shell app via its declared GUID 2017-03-22 15:34:59 +00:00
PlatformHasAcpiDtDxe ArmVirtPkg/PlatformHasAcpiDtDxe: allow guest level ACPI disable override 2017-03-31 11:44:36 +01:00
PrePi ArmVirtPkg/PrePi: remove mSystemMemoryEnd 2016-10-24 15:57:25 +01:00
VirtioFdtDxe ArmVirtPkg/VirtFdtDxe: remove Xenio handling and rename to VirtioFdtDxe 2016-04-13 17:26:07 +02:00
XenAcpiPlatformDxe ArmVirtPkg/XenAcpiPlatformDxe: don't cast UINT64 to pointer directly 2017-03-28 13:48:39 +02:00
XenPlatformHasAcpiDtDxe ArmVirtPkg: add XenPlatformHasAcpiDtDxe 2017-03-28 14:17:04 +02:00
XenioFdtDxe ArmVirtPkg/FdtClientDxe: report address and size cell count directly 2016-09-15 15:31:24 +01:00
ArmVirt.dsc.inc ArmVirtPkg: enable AcpiTableDxe and EFI_ACPI_TABLE_PROTOCOL dynamically 2017-03-28 14:18:24 +02:00
ArmVirtPkg.dec ArmVirtPkg/PlatformHasAcpiDtDxe: allow guest level ACPI disable override 2017-03-31 11:44:36 +01:00
ArmVirtQemu.dsc ArmVirtPkg/PlatformHasAcpiDtDxe: allow guest level ACPI disable override 2017-03-31 11:44:36 +01:00
ArmVirtQemu.fdf ArmVirtPkg: factor out Rules FDF section 2016-07-12 15:19:42 +02:00
ArmVirtQemuFvMain.fdf.inc ArmVirtPkg: enable AcpiTableDxe and EFI_ACPI_TABLE_PROTOCOL dynamically 2017-03-28 14:18:24 +02:00
ArmVirtQemuKernel.dsc ArmVirtPkg: remove ArmCpuLib references 2017-03-31 10:39:36 +01:00
ArmVirtQemuKernel.fdf ArmVirtPkg: factor out Rules FDF section 2016-07-12 15:19:42 +02:00
ArmVirtRules.fdf.inc ArmVirtPkg: Add Ramdisk support to ArmVirtPkg platforms 2016-08-22 09:05:17 +02:00
ArmVirtXen.dsc ArmVirtPkg: remove ArmCpuLib references 2017-03-31 10:39:36 +01:00
ArmVirtXen.fdf ArmVirtPkg: enable AcpiTableDxe and EFI_ACPI_TABLE_PROTOCOL dynamically 2017-03-28 14:18:24 +02:00
Contributions.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00
License.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00
VarStore.fdf.inc ArmVirtPkg: add FDF definition for empty varstore 2016-06-23 16:07:38 +02:00