diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-03-13 18:08:26 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-03-23 17:38:12 +0100 |
commit | 0f6ff51d88db8bcceb42a71344346f842253f0df (patch) | |
tree | 4b032a54458f3b0af34e1f00e2015f2772abe849 | |
parent | 9116c9c5d885cdd6ce7c0013a558b86e27dd6b90 (diff) | |
download | edk2-platforms-0f6ff51d88db8bcceb42a71344346f842253f0df.tar.xz |
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 <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: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r-- | OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 6 | ||||
-rw-r--r-- | OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 1 |
2 files changed, 7 insertions, 0 deletions
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 <Guid/RootBridgesConnectedEventGroup.h>
#include <Library/QemuBootOrderLib.h>
@@ -1245,6 +1246,11 @@ Returns: 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
// on the presence of the FACS ACPI table. Since our ACPI tables are only
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
|