From 17fb73c8e164fd9a91cef8408c9c2dcdb95a6d3c Mon Sep 17 00:00:00 2001 From: qwang12 Date: Fri, 9 Mar 2007 07:25:58 +0000 Subject: 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 --- EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'EdkUnixPkg') 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 -- cgit v1.2.3