diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-25 08:10:35 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-25 08:10:35 +0000 |
commit | b3bac2c98e95aacef7b5ed570e323006ba201791 (patch) | |
tree | c6f6f29a491a0d61fed97830857e1fa9994c3c36 | |
parent | 8069d49e9abf619afac16e44bf72266de57b1411 (diff) | |
download | edk2-b3bac2c98e95aacef7b5ed570e323006ba201791.zip edk2-b3bac2c98e95aacef7b5ed570e323006ba201791.tar.gz edk2-b3bac2c98e95aacef7b5ed570e323006ba201791.tar.bz2 |
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
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/FrontPage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/FrontPage.c b/MdeModulePkg/Universal/BdsDxe/FrontPage.c index 1d364bf..b7b9e05 100644 --- a/MdeModulePkg/Universal/BdsDxe/FrontPage.c +++ b/MdeModulePkg/Universal/BdsDxe/FrontPage.c @@ -919,6 +919,7 @@ Returns: EFI_STATUS Status;
EFI_CONSOLE_CONTROL_PROTOCOL *ConsoleControl;
+ PERF_START (0, "BdsTimeOut", "BDS", 0);
//
// Indicate if we need connect all in the platform setup
//
@@ -949,9 +950,7 @@ Returns: UpdateFrontPageStrings ();
gCallbackKey = 0;
- PERF_START (0, "BdsTimeOut", "BDS", 0);
Status = CallFrontPage ();
- PERF_END (0, "BdsTimeOut", "BDS", 0);
//
// 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
// takes affect
//
+ PERF_END (0, "BdsTimeOut", "BDS", 0);
Status = gBS->LocateProtocol (&gEfiConsoleControlProtocolGuid, NULL, (VOID **) &ConsoleControl);
ConsoleControl->SetMode (ConsoleControl, EfiConsoleControlScreenText);
|