]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg: PlatformIntelBdsLib: signal gRootBridgesConnectedEventGroupGuid
authorLaszlo Ersek <lersek@redhat.com>
Sun, 13 Mar 2016 17:08:45 +0000 (18:08 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 23 Mar 2016 16:39:32 +0000 (17:39 +0100)
The explanation is in the patch titled

  OvmfPkg: introduce gRootBridgesConnectedEventGroupGuid

At this point, this signal doesn't do anything yet.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ArmVirtPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
ArmVirtPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf

index 9267a188e81052cce18690740a91f5fabddbc041..02d698b455b317966ba3e59603807dc7a9557612 100644 (file)
@@ -25,6 +25,7 @@
 #include <Protocol/PciIo.h>\r
 #include <Protocol/PciRootBridgeIo.h>\r
 #include <Guid/EventGroup.h>\r
+#include <Guid/RootBridgesConnectedEventGroup.h>\r
 \r
 #include "IntelBdsPlatform.h"\r
 \r
@@ -369,6 +370,11 @@ PlatformBdsPolicyBehavior (
   //\r
   FilterAndProcess (&gEfiPciRootBridgeIoProtocolGuid, NULL, Connect);\r
 \r
+  //\r
+  // Signal the ACPI platform driver that it can download QEMU ACPI tables.\r
+  //\r
+  EfiEventGroupSignal (&gRootBridgesConnectedEventGroupGuid);\r
+\r
   //\r
   // Find all display class PCI devices (using the handles from the previous\r
   // step), and connect them non-recursively. This should produce a number of\r
index 79ba7b2afbf70f735f30b4fe6585c855a8b67549..f104accc033475f31201f4bbda901a8757cabb9c 100644 (file)
@@ -71,6 +71,7 @@
   gEfiFileSystemInfoGuid\r
   gEfiFileSystemVolumeLabelInfoIdGuid\r
   gEfiEndOfDxeEventGroupGuid\r
+  gRootBridgesConnectedEventGroupGuid\r
 \r
 [Protocols]\r
   gEfiDevicePathProtocolGuid\r