Revision: 16882
http://sourceforge.net/p/edk2/code/16882
Author: jljusten
Date: 2015-02-17 18:58:05 +0000 (Tue, 17 Feb 2015)
Log Message:
-----------
OvmfPkg/AcpiPlatformDxe: Assert if AcpiTable protocol is not found
Since the protocol is in the depex, there is no reason to expect we
might fail to locate the protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Modified Paths:
--------------
trunk/edk2/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
trunk/edk2/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
Modified: trunk/edk2/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
===================================================================
--- trunk/edk2/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c 2015-02-17 13:11:34 UTC
(rev 16881)
+++ trunk/edk2/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c 2015-02-17 18:58:05 UTC
(rev 16882)
@@ -250,9 +250,7 @@
NULL,
(VOID**)&AcpiTable
);
- if (EFI_ERROR (Status)) {
- return EFI_ABORTED;
- }
+ ASSERT_EFI_ERROR (Status);
if (XenDetected ()) {
Status = InstallXenTables (AcpiTable);
Modified: trunk/edk2/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
===================================================================
--- trunk/edk2/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c 2015-02-17 13:11:34 UTC
(rev 16881)
+++ trunk/edk2/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c 2015-02-17 18:58:05 UTC
(rev 16882)
@@ -714,9 +714,7 @@
NULL,
(VOID**)&AcpiTable
);
- if (EFI_ERROR (Status)) {
- return EFI_ABORTED;
- }
+ ASSERT_EFI_ERROR (Status);
Status = InstallAllQemuLinkedTables (AcpiTable);
return Status;
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits