Initialize the timeout value to 0, the original template is not proper initialized.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5521 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2008-07-18 09:58:14 +00:00
parent e94a9ff727
commit 49f977a048
1 changed files with 9 additions and 1 deletions

View File

@ -18,13 +18,21 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include "Hotkey.h" #include "Hotkey.h"
#include "HwErrRecSupport.h" #include "HwErrRecSupport.h"
//
// BDS arch protocol instance initial value.
//
// Note: Current BDS not directly get the BootMode, DefaultBoot,
// TimeoutDefault, MemoryTestLevel value from the BDS arch protocol.
// Please refer to the library useage of BdsLibGetBootMode, BdsLibGetTimeout
// and PlatformBdsDiagnostics in BdsPlatform.c
//
EFI_BDS_ARCH_PROTOCOL_INSTANCE gBdsInstanceTemplate = { EFI_BDS_ARCH_PROTOCOL_INSTANCE gBdsInstanceTemplate = {
EFI_BDS_ARCH_PROTOCOL_INSTANCE_SIGNATURE, EFI_BDS_ARCH_PROTOCOL_INSTANCE_SIGNATURE,
NULL, NULL,
{BdsEntry}, {BdsEntry},
0xFFFF, 0xFFFF,
TRUE, TRUE,
0,
EXTENSIVE EXTENSIVE
}; };