diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-02 12:06:14 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-02 12:06:14 +0000 |
commit | 8d9a52eba8613a3580dd853fc83a57c41fa6728c (patch) | |
tree | d786d9b8d6cc9b5236348507d7cf47d201781a0c /MdeModulePkg/Universal/BdsDxe/BootMngr | |
parent | 3ffe97a634c075ed51fb8eaf61ccb77515538e4e (diff) | |
download | edk2-platforms-8d9a52eba8613a3580dd853fc83a57c41fa6728c.tar.xz |
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/BootMngr')
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.c b/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.c index c3ef654bf1..459a396a69 100644 --- a/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.c +++ b/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.c @@ -255,11 +255,6 @@ CallBootManager ( );
FreePool (UpdateData.Data);
- //
- // Drop the TPL level from TPL_APPLICATION to TPL_APPLICATION
- //
- gBS->RestoreTPL (TPL_APPLICATION);
-
ActionRequest = EFI_BROWSER_ACTION_REQUEST_NONE;
Status = gFormBrowser2->SendForm (
gFormBrowser2,
@@ -275,7 +270,6 @@ CallBootManager ( }
if (gOption == NULL) {
- gBS->RaiseTPL (TPL_APPLICATION);
return ;
}
@@ -285,11 +279,6 @@ CallBootManager ( SetupResetReminder ();
//
- // Raise the TPL level back to TPL_APPLICATION
- //
- gBS->RaiseTPL (TPL_APPLICATION);
-
- //
// parse the selected option
//
Status = BdsLibBootViaBootOption (gOption, gOption->DevicePath, &ExitDataSize, &ExitData);
@@ -304,11 +293,6 @@ CallBootManager ( gST->ConOut,
GetStringById (STRING_TOKEN (STR_ANY_KEY_CONTINUE))
);
- gBS->RestoreTPL (TPL_APPLICATION);
- //
- // BdsLibUiWaitForSingleEvent (gST->ConIn->WaitForKey, 0);
- //
- gBS->RaiseTPL (TPL_APPLICATION);
gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);
}
}
|