diff options
author | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-13 22:51:36 +0000 |
---|---|---|
committer | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-13 22:51:36 +0000 |
commit | 7658d609a376be0fba1c2ba3496e016e55f7aa3a (patch) | |
tree | ac67473cb7ae96015ee316d3ee00ac5fb8c91c9e /Nt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c | |
parent | e9508cd2165b5e00d0200d15ac33dd4037e6c34f (diff) | |
download | edk2-platforms-7658d609a376be0fba1c2ba3496e016e55f7aa3a.tar.xz |
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
Diffstat (limited to 'Nt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c')
-rw-r--r-- | Nt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Nt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c b/Nt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c index 13ec89f501..9fa05ffd6d 100644 --- a/Nt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c +++ b/Nt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c @@ -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!!!
|