Add BaseSmbusLibNull instance for SmbusLib. Add check in BootScriptExecutorDxe driver for the return status of S3BootScriptExecute().
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14830 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -68,6 +68,16 @@ S3BootScriptExecutorEntryFunction (
|
||||
// for that parameter.
|
||||
//
|
||||
Status = S3BootScriptExecute ();
|
||||
|
||||
//
|
||||
// If invalid script table or opcode in S3 boot script table.
|
||||
//
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
CpuDeadLoop ();
|
||||
return Status;
|
||||
}
|
||||
|
||||
AsmWbinvd ();
|
||||
|
||||
|
Reference in New Issue
Block a user