diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-18 09:58:14 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-18 09:58:14 +0000 |
commit | 49f977a048cc652eaca49a4183b6df2aebe3f497 (patch) | |
tree | 4c004393ddde8acee5725ed042458a381f6de8c5 /MdeModulePkg/Universal | |
parent | e94a9ff7271367e649ee4f9a86da1f1bea6d112e (diff) | |
download | edk2-platforms-49f977a048cc652eaca49a4183b6df2aebe3f497.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c index 332c6bdabe..30da602f86 100644 --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c @@ -18,13 +18,21 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "Hotkey.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_SIGNATURE,
NULL,
{BdsEntry},
0xFFFF,
TRUE,
+ 0,
EXTENSIVE
};
|