From 0f6ff51d88db8bcceb42a71344346f842253f0df Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Sun, 13 Mar 2016 18:08:26 +0100 Subject: OvmfPkg: PlatformBdsLib: signal gRootBridgesConnectedEventGroupGuid The explanation is in the patch titled OvmfPkg: introduce gRootBridgesConnectedEventGroupGuid At this point, this signal doesn't do anything yet. Cc: Ard Biesheuvel Cc: Jordan Justen Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen --- OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 6 ++++++ OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 1 + 2 files changed, 7 insertions(+) diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c index 4a2f7f332d..0bc02baf03 100644 --- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c @@ -13,6 +13,7 @@ **/ #include "BdsPlatform.h" +#include #include @@ -1244,6 +1245,11 @@ Returns: VisitAllInstancesOfProtocol (&gEfiPciRootBridgeIoProtocolGuid, ConnectRootBridge, NULL); + // + // Signal the ACPI platform driver that it can download QEMU ACPI tables. + // + EfiEventGroupSignal (&gRootBridgesConnectedEventGroupGuid); + // // We can't signal End-of-Dxe earlier than this. Namely, End-of-Dxe triggers // the preparation of S3 system information. That logic has a hard dependency diff --git a/OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf b/OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf index ab5468368d..6a04b45803 100644 --- a/OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf +++ b/OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf @@ -70,3 +70,4 @@ [Guids] gEfiEndOfDxeEventGroupGuid + gRootBridgesConnectedEventGroupGuid -- cgit v1.2.3