MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
IntelFrameworkPkg/IntelFrameworkPkg.dec\r
-\r
+ IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r
+ \r
[LibraryClasses]\r
UefiRuntimeServicesTableLib\r
UefiBootServicesTableLib\r
gEfiFormBrowserCompatibilityProtocolGuid\r
\r
[Pcd]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut\r
\r
[Depex]\r
gEfiHiiDatabaseProtocolGuid AND\r
VOID\r
)\r
{\r
- UINT16 Timeout;\r
- UINTN Size;\r
- EFI_STATUS Status;\r
-\r
- //\r
- // Return Timeout variable or 0xffff if no valid\r
- // Timeout variable exists.\r
- //\r
- Size = sizeof (UINT16);\r
- Status = gRT->GetVariable (L"Timeout", &gEfiGlobalVariableGuid, NULL, &Size, &Timeout);\r
- if (EFI_ERROR (Status)) {\r
- //\r
- // According to UEFI 2.0 spec, it should treat the Timeout value as 0xffff\r
- // (default value PcdPlatformBootTimeOutDefault) when L"Timeout" variable is not present.\r
- // To make the current EFI Automatic-Test activity possible, platform can choose other value\r
- // for automatic boot when the variable is not present.\r
- //\r
- Timeout = PcdGet16 (PcdPlatformBootTimeOutDefault);\r
- }\r
-\r
- return Timeout;\r
+ return PcdGet16 (PcdPlatformBootTimeOut);\r
}\r
\r
\r