mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
Correct the calculating time out for BDS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4751 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8069d49e9a
commit
b3bac2c98e
@ -919,6 +919,7 @@ Returns:
|
|||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
EFI_CONSOLE_CONTROL_PROTOCOL *ConsoleControl;
|
EFI_CONSOLE_CONTROL_PROTOCOL *ConsoleControl;
|
||||||
|
|
||||||
|
PERF_START (0, "BdsTimeOut", "BDS", 0);
|
||||||
//
|
//
|
||||||
// Indicate if we need connect all in the platform setup
|
// Indicate if we need connect all in the platform setup
|
||||||
//
|
//
|
||||||
@ -949,9 +950,7 @@ Returns:
|
|||||||
UpdateFrontPageStrings ();
|
UpdateFrontPageStrings ();
|
||||||
|
|
||||||
gCallbackKey = 0;
|
gCallbackKey = 0;
|
||||||
PERF_START (0, "BdsTimeOut", "BDS", 0);
|
|
||||||
Status = CallFrontPage ();
|
Status = CallFrontPage ();
|
||||||
PERF_END (0, "BdsTimeOut", "BDS", 0);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// If gCallbackKey is greater than 1 and less or equal to 5,
|
// If gCallbackKey is greater than 1 and less or equal to 5,
|
||||||
@ -1029,6 +1028,7 @@ Exit:
|
|||||||
// Note: The following lines of code only execute when Auto boot
|
// Note: The following lines of code only execute when Auto boot
|
||||||
// takes affect
|
// takes affect
|
||||||
//
|
//
|
||||||
|
PERF_END (0, "BdsTimeOut", "BDS", 0);
|
||||||
Status = gBS->LocateProtocol (&gEfiConsoleControlProtocolGuid, NULL, (VOID **) &ConsoleControl);
|
Status = gBS->LocateProtocol (&gEfiConsoleControlProtocolGuid, NULL, (VOID **) &ConsoleControl);
|
||||||
ConsoleControl->SetMode (ConsoleControl, EfiConsoleControlScreenText);
|
ConsoleControl->SetMode (ConsoleControl, EfiConsoleControlScreenText);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user