Convert NT32 to use PCD settings for UEFI Timeout and language variables as a POC for new BDS.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3241 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
AJFISH
2007-07-13 22:51:36 +00:00
parent e9508cd216
commit 7658d609a3
9 changed files with 127 additions and 103 deletions

View File

@@ -25,7 +25,7 @@ Abstract:
#define MAX_STRING_LEN 200
static BOOLEAN mFeaturerSwitch = TRUE;
static BOOLEAN mResetRequired = FALSE;
extern UINT16 gPlatformBootTimeOutDefault;
UINT16
BdsLibGetTimeout (
@@ -66,7 +66,7 @@ Returns:
// present.
// This code should be removed later.
//
Timeout = gPlatformBootTimeOutDefault;
Timeout = PcdGet16 (PcdUefiVariableDefaultTimeout);
//
// Notes: Platform should set default variable if non exists on all error cases!!!