]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/BdsPlatform.c
add in FrameworkIfrSupportLib
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / BdsPlatform.c
index d1edef3d7ed9cadfda0d91af70c12977e071c099..89dbef0e52ae3904ed5b26e382fa3bd5cb1a0570 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
 All rights reserved. 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
 All rights reserved. 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
@@ -254,7 +254,7 @@ Returns:
   // from the graphic lib\r
   //\r
   if (QuietBoot) {\r
   // from the graphic lib\r
   //\r
   if (QuietBoot) {\r
-    EnableQuietBoot (&gEfiUgaSplashProtocolGuid);\r
+    EnableQuietBoot (&gEfiDefaultBmpLogoGuid);\r
     //\r
     // Perform system diagnostic\r
     //\r
     //\r
     // Perform system diagnostic\r
     //\r
@@ -315,7 +315,7 @@ Returns:
   //\r
   // Get current Boot Mode\r
   //\r
   //\r
   // Get current Boot Mode\r
   //\r
-  Status = BdsLibGetBootMode (&PrivateData->BootMode);\r
+  PrivateData->BootMode = GetBootModeHob();\r
 \r
   //\r
   // Go the different platform policy with different boot mode\r
 \r
   //\r
   // Go the different platform policy with different boot mode\r
@@ -445,7 +445,7 @@ Returns:
   TmpStr = GetStringById (STRING_TOKEN (STR_BOOT_SUCCEEDED));\r
   if (TmpStr != NULL) {\r
     BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL);\r
   TmpStr = GetStringById (STRING_TOKEN (STR_BOOT_SUCCEEDED));\r
   if (TmpStr != NULL) {\r
     BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL);\r
-    gBS->FreePool (TmpStr);\r
+    FreePool (TmpStr);\r
   }\r
 }\r
 \r
   }\r
 }\r
 \r
@@ -487,7 +487,7 @@ Returns:
   TmpStr = GetStringById (STRING_TOKEN (STR_BOOT_FAILED));\r
   if (TmpStr != NULL) {\r
     BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL);\r
   TmpStr = GetStringById (STRING_TOKEN (STR_BOOT_FAILED));\r
   if (TmpStr != NULL) {\r
     BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL);\r
-    gBS->FreePool (TmpStr);\r
+    FreePool (TmpStr);\r
   }\r
 \r
 }\r
   }\r
 \r
 }\r