]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c
1) Replace BdsLibGetBootMode with GetBootMode from HobLib of MdePkg.
[mirror_edk2.git] / EdkUnixPkg / Dxe / PlatformBds / BdsPlatform.c
index d77d8488223a1fa836e36d91e15906884de024e3..f6e29c73e7d2cf0c3dca7e06bdbaac88a8cc774c 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
@@ -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