summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EmbeddedPkg/Ebl/Main.c5
1 files changed, 5 insertions, 0 deletions
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);