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
This commit is contained in:
klu2 2009-02-26 07:21:40 +00:00
parent 6efe5f9605
commit 12a738edad
2 changed files with 3 additions and 23 deletions

View File

@ -332,7 +332,7 @@ Returns:
//
// Init the time out value
//
Timeout = BdsLibGetTimeout ();
Timeout = PcdGet16 (PcdPlatformBootTimeOut);
//
// Load the driver option as the driver option list

View File

@ -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