mirror of https://github.com/acidanthera/audk.git
EmbeddedPkg/Ebl: Check if gST->ConOut has been initialized
An exception error occured in EBL when gST->ConOut had not been intialized. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11954 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
64e03133cc
commit
d60b4c43c1
|
@ -604,6 +604,11 @@ EdkBootLoaderEntry (
|
||||||
EblInitializeNetworkCmd();
|
EblInitializeNetworkCmd();
|
||||||
EblInitializeVariableCmds ();
|
EblInitializeVariableCmds ();
|
||||||
|
|
||||||
|
if (gST->ConOut == NULL) {
|
||||||
|
DEBUG((EFI_D_ERROR,"Errot: No Console Output\n"));
|
||||||
|
return EFI_NOT_READY;
|
||||||
|
}
|
||||||
|
|
||||||
// Disable the 5 minute EFI watchdog time so we don't get automatically reset
|
// Disable the 5 minute EFI watchdog time so we don't get automatically reset
|
||||||
gBS->SetWatchdogTimer (0, 0, 0, NULL);
|
gBS->SetWatchdogTimer (0, 0, 0, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue