X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FEbl%2FMain.c;fp=EmbeddedPkg%2FEbl%2FMain.c;h=3d618419e673dde48026be071cd1f2aca69fe876;hp=1f677bcb041b6ac4a32af994602903bb89447e6f;hb=d60b4c43c194c905a51942f95c6b2937b9f7682e;hpb=64e03133cc76cd6d55e3b21e010abb0b232bd504 diff --git a/EmbeddedPkg/Ebl/Main.c b/EmbeddedPkg/Ebl/Main.c index 1f677bcb04..3d618419e6 100644 --- a/EmbeddedPkg/Ebl/Main.c +++ b/EmbeddedPkg/Ebl/Main.c @@ -604,6 +604,11 @@ EdkBootLoaderEntry ( EblInitializeNetworkCmd(); 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 gBS->SetWatchdogTimer (0, 0, 0, NULL);