]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, now this...
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 26 Feb 2009 07:20:33 +0000 (07:20 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 26 Feb 2009 07:20:33 +0000 (07:20 +0000)
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
DuetPkg/Library/DuetBdsLib/PlatformBds.inf

index e39700ddb02e5c5fc266abcaf8121b86959cabaa..0347005ab241123888a890628b10be15d93aebd6 100644 (file)
@@ -1156,7 +1156,7 @@ Returns:
   //\r
   // Init the time out value\r
   //\r
-  Timeout = BdsLibGetTimeout ();\r
+  Timeout = PcdGet16 (PcdPlatformBootTimeOut);\r
 \r
   //\r
   // Load the driver option as the driver option list\r
index 70e3e65f18e958028b9be8ae4c60567c2f82db1f..c8bffc0b8a2b7eab7bbfe3e721c2a657f067b36f 100644 (file)
@@ -60,4 +60,7 @@
   gEfiAcpi20TableGuid\r
   gEfiMpsTableGuid\r
   gEfiSmbiosTableGuid\r
-  gEfiAcpiTableGuid
\ No newline at end of file
+  gEfiAcpiTableGuid\r
+  \r
+[Pcd]\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut  
\ No newline at end of file