]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c
MdeModulePkg CapsuleApp: Do not parse bits in CapsuleFlags of ESRT
[mirror_edk2.git] / Nt32Pkg / Library / PlatformBootManagerLib / PlatformBootManager.c
index dd67dab9ddb3be4dde6d46eada85889625d0e2d8..99f30f9ec2b8b213952393a867b1574c630fed49 100644 (file)
@@ -2,7 +2,8 @@
   This file include all platform action which can be customized\r
   by IBV/OEM.\r
 \r
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -42,7 +43,7 @@ PlatformBootManagerDiagnostics (
   // from the graphic lib\r
   //\r
   if (QuietBoot) {\r
-    BootLogoEnableLogo (ImageFormatBmp, PcdGetPtr(PcdLogoFile), EdkiiPlatformLogoDisplayAttributeCenter, 0, 0);\r
+    BootLogoEnableLogo ();\r
 \r
     //\r
     // Perform system diagnostic\r
@@ -116,6 +117,18 @@ PlatformBootManagerBeforeConsole (
       EfiBootManagerUpdateConsoleVariable (ErrOut, gPlatformConsole[Index].DevicePath, NULL);\r
     }\r
   }\r
+\r
+  //\r
+  // From PI spec vol2:\r
+  // Prior to invoking any UEFI drivers, applications, or connecting consoles, \r
+  // the platform should signal the event EFI_END_OF_DXE_EVENT_GUID\r
+  //\r
+  EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);\r
+\r
+  //\r
+  // Dispatch deferred images after EndOfDxe event.\r
+  //\r
+  EfiBootManagerDispatchDeferredImages ();\r
 }\r
 \r
 /**\r
@@ -274,6 +287,8 @@ GetBootManagerMenuAppOption (
   UINTN                        Index;\r
   UINTN                        OptionNumber;\r
 \r
+  OptionNumber = 0;\r
+\r
   BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot);\r
 \r
   for (Index = 0; Index < BootOptionCount; Index++) {\r