From 6efe5f96052772f1a125a65839e3d276cf8b96f5 Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 26 Feb 2009 07:20:33 +0000 Subject: 1, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, now this PCD is *not* only hold default value of Bds timeout, but it is associated with a HII type PCD to hold persistent value for BDS timeout. Platform integrator will establish this mapping in platform DSC file. 2, Move PcdPlatformBootTimeout to IntelFrameworkModulePkg. 3, Remove BdsLibGetTimeout() interface from GenericBdsLib, because the PCD PcdPlatformBootTimeout will take care of persistent for time out value. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7709 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 2 +- DuetPkg/Library/DuetBdsLib/PlatformBds.inf | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'DuetPkg/Library') diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c index e39700ddb0..0347005ab2 100644 --- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c +++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c @@ -1156,7 +1156,7 @@ Returns: // // Init the time out value // - Timeout = BdsLibGetTimeout (); + Timeout = PcdGet16 (PcdPlatformBootTimeOut); // // Load the driver option as the driver option list diff --git a/DuetPkg/Library/DuetBdsLib/PlatformBds.inf b/DuetPkg/Library/DuetBdsLib/PlatformBds.inf index 70e3e65f18..c8bffc0b8a 100644 --- a/DuetPkg/Library/DuetBdsLib/PlatformBds.inf +++ b/DuetPkg/Library/DuetBdsLib/PlatformBds.inf @@ -60,4 +60,7 @@ gEfiAcpi20TableGuid gEfiMpsTableGuid gEfiSmbiosTableGuid - gEfiAcpiTableGuid \ No newline at end of file + gEfiAcpiTableGuid + +[Pcd] + gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut \ No newline at end of file -- cgit v1.2.3