summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/BdsDxe/FrontPage.c
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-02 12:06:14 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-02 12:06:14 +0000
commit8d9a52eba8613a3580dd853fc83a57c41fa6728c (patch)
treed786d9b8d6cc9b5236348507d7cf47d201781a0c /MdeModulePkg/Universal/BdsDxe/FrontPage.c
parent3ffe97a634c075ed51fb8eaf61ccb77515538e4e (diff)
downloadedk2-8d9a52eba8613a3580dd853fc83a57c41fa6728c.zip
edk2-8d9a52eba8613a3580dd853fc83a57c41fa6728c.tar.gz
edk2-8d9a52eba8613a3580dd853fc83a57c41fa6728c.tar.bz2
Remove unnecessary TPL operations in BDS module & library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5779 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/BdsDxe/FrontPage.c')
-rw-r--r--MdeModulePkg/Universal/BdsDxe/FrontPage.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/FrontPage.c b/MdeModulePkg/Universal/BdsDxe/FrontPage.c
index 914f177..75c9f91 100644
--- a/MdeModulePkg/Universal/BdsDxe/FrontPage.c
+++ b/MdeModulePkg/Universal/BdsDxe/FrontPage.c
@@ -467,12 +467,6 @@ CallFrontPage (
(EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_PC_INPUT_WAIT)
);
-
- //
- // Drop the TPL level from TPL_APPLICATION to TPL_APPLICATION
- //
- gBS->RestoreTPL (TPL_APPLICATION);
-
ActionRequest = EFI_BROWSER_ACTION_REQUEST_NONE;
Status = gFormBrowser2->SendForm (
gFormBrowser2,
@@ -490,7 +484,6 @@ CallFrontPage (
EnableResetRequired ();
}
- gBS->RaiseTPL (TPL_APPLICATION);
return Status;
}
@@ -883,9 +876,7 @@ PlatformBdsEnterFrontPage (
}
if (TimeoutDefault != 0xffff) {
- gBS->RestoreTPL (TPL_APPLICATION);
Status = ShowProgress (TimeoutDefault);
- gBS->RaiseTPL (TPL_APPLICATION);
//
// Ensure screen is clear when switch Console from Graphics mode to Text mode
@@ -979,9 +970,7 @@ PlatformBdsEnterFrontPage (
//
//Will leave browser, check any reset required change is applied? if yes, reset system
//
- gBS->RestoreTPL (TPL_APPLICATION);
SetupResetReminder ();
- gBS->RaiseTPL (TPL_APPLICATION);
Exit:
//