#include <Library/UefiBootServicesTableLib.h> // gBS\r
\r
#include "AcpiPlatform.h"\r
-EFI_HANDLE mQemuAcpiHandle = NULL;\r
\r
//\r
// The user structure for the ordered collection that will track the fw_cfg\r
ORDERED_COLLECTION_ENTRY *TrackerEntry, *TrackerEntry2;\r
ORDERED_COLLECTION *SeenPointers;\r
ORDERED_COLLECTION_ENTRY *SeenPointerEntry, *SeenPointerEntry2;\r
+ EFI_HANDLE QemuAcpiHandle;\r
\r
Status = QemuFwCfgFindFile ("etc/table-loader", &FwCfgItem, &FwCfgSize);\r
if (EFI_ERROR (Status)) {\r
// Install a protocol to notify that the ACPI table provided by Qemu is\r
// ready.\r
//\r
+ QemuAcpiHandle = NULL;\r
gBS->InstallProtocolInterface (\r
- &mQemuAcpiHandle,\r
+ &QemuAcpiHandle,\r
&gQemuAcpiTableNotifyProtocolGuid,\r
EFI_NATIVE_INTERFACE,\r
NULL\r