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 <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16882 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Jordan Justen 2015-02-17 18:58:05 +00:00 committed by jljusten
parent 460e1e0dab
commit 53596a72cd
2 changed files with 2 additions and 6 deletions

View File

@ -250,9 +250,7 @@ AcpiPlatformEntryPoint (
NULL, NULL,
(VOID**)&AcpiTable (VOID**)&AcpiTable
); );
if (EFI_ERROR (Status)) { ASSERT_EFI_ERROR (Status);
return EFI_ABORTED;
}
if (XenDetected ()) { if (XenDetected ()) {
Status = InstallXenTables (AcpiTable); Status = InstallXenTables (AcpiTable);

View File

@ -714,9 +714,7 @@ QemuFwCfgAcpiPlatformEntryPoint (
NULL, NULL,
(VOID**)&AcpiTable (VOID**)&AcpiTable
); );
if (EFI_ERROR (Status)) { ASSERT_EFI_ERROR (Status);
return EFI_ABORTED;
}
Status = InstallAllQemuLinkedTables (AcpiTable); Status = InstallAllQemuLinkedTables (AcpiTable);
return Status; return Status;