mirror of https://github.com/acidanthera/audk.git
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:
parent
e94a9ff727
commit
49f977a048
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue