mirror of https://github.com/acidanthera/audk.git
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:
parent
460e1e0dab
commit
53596a72cd
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue