]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c
Remove some unnecessary #if/#ifdef from some header files.
[mirror_edk2.git] / EdkUnixPkg / Dxe / PlatformBds / BdsPlatform.c
index d77d8488223a1fa836e36d91e15906884de024e3..39a24d28814013aef63831af1c256f00966ad940 100644 (file)
@@ -1,6 +1,6 @@
 /*++\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
@@ -243,7 +243,7 @@ Returns:
   // from the graphic lib\r
   //\r
   if (QuietBoot) {\r
-    EnableQuietBoot (&gEfiUgaSplashProtocolGuid);\r
+    EnableQuietBoot (&gEfiDefaultBmpLogoGuid);\r
     //\r
     // Perform system diagnostic\r
     //\r
@@ -304,7 +304,7 @@ Returns:
   //\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