summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 07:21:40 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 07:21:40 +0000
commit12a738edadbf27c04f2808d6765c25ca8a33be99 (patch)
tree0f9794137b69a5902768408b2d372d7402e0dfcc
parent6efe5f96052772f1a125a65839e3d276cf8b96f5 (diff)
downloadedk2-12a738edadbf27c04f2808d6765c25ca8a33be99.tar.gz
edk2-12a738edadbf27c04f2808d6765c25ca8a33be99.tar.bz2
edk2-12a738edadbf27c04f2808d6765c25ca8a33be99.zip
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@7710 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--UnixPkg/Library/UnixBdsLib/BdsPlatform.c2
-rw-r--r--UnixPkg/Library/UnixBdsLib/PlatformBds.inf24
2 files changed, 3 insertions, 23 deletions
diff --git a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
index f4d32f1a57..84a56faf76 100644
--- a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
+++ b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c
@@ -332,7 +332,7 @@ Returns:
//
// Init the time out value
//
- Timeout = BdsLibGetTimeout ();
+ Timeout = PcdGet16 (PcdPlatformBootTimeOut);
//
// Load the driver option as the driver option list
diff --git a/UnixPkg/Library/UnixBdsLib/PlatformBds.inf b/UnixPkg/Library/UnixBdsLib/PlatformBds.inf
index 469f92af65..10a2631a5e 100644
--- a/UnixPkg/Library/UnixBdsLib/PlatformBds.inf
+++ b/UnixPkg/Library/UnixBdsLib/PlatformBds.inf
@@ -43,27 +43,6 @@
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
[LibraryClasses]
-# EdkGenericPlatformBdsLib
-# HiiLib
-# DevicePathLib
-# UefiRuntimeServicesTableLib
-# UefiBootServicesTableLib
-# BaseMemoryLib
-# MemoryAllocationLib
-# EdkGenericBdsLib
-# HobLib
-# ReportStatusCodeLib
-# EdkIfrSupportLib
-# PrintLib
-# PerformanceLib
-# DxeServicesTableLib
-# EdkGraphicsLib
-# BaseLib
-# UefiDriverEntryPoint
-# UefiLib
-# DebugLib
-
-
BaseLib
MemoryAllocationLib
UefiBootServicesTableLib
@@ -82,6 +61,7 @@
[Pcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn
-
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut
+
[Depex]
gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid