summaryrefslogtreecommitdiff
path: root/EdkUnixPkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-09 07:25:58 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-09 07:25:58 +0000
commit17fb73c8e164fd9a91cef8408c9c2dcdb95a6d3c (patch)
treead89431be418606fdbea975246f1d60e482d13c0 /EdkUnixPkg
parent42721684d59a6bc9655054a8fdef789fa5bab3f3 (diff)
downloadedk2-platforms-17fb73c8e164fd9a91cef8408c9c2dcdb95a6d3c.tar.xz
1) Replace BdsLibGetBootMode with GetBootMode from HobLib of MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2433 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg')
-rw-r--r--EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c b/EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c
index d77d848822..f6e29c73e7 100644
--- a/EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c
+++ b/EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -304,7 +304,7 @@ Returns:
//
// Get current Boot Mode
//
- Status = BdsLibGetBootMode (&PrivateData->BootMode);
+ PrivateData->BootMode = GetBootModeHob();
//
// Go the different platform policy with different boot mode