diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-02 14:57:17 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-02 14:57:17 +0000 |
commit | cfb0fad6c14fc6b0d7068d6024afccc1107fb565 (patch) | |
tree | 19b447167a52ac120cff9868d77af8ed683ff65e | |
parent | aae7c80fa8abdff84eea5fe9e842dbb73253dbf0 (diff) | |
download | edk2-cfb0fad6c14fc6b0d7068d6024afccc1107fb565.tar.gz edk2-cfb0fad6c14fc6b0d7068d6024afccc1107fb565.tar.bz2 edk2-cfb0fad6c14fc6b0d7068d6024afccc1107fb565.zip |
Remove unnecessary TPL operations in BDS module & library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5781 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Library/GenericBdsLib/BdsBoot.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c b/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c index 30d3a50d90..c3294fa497 100644 --- a/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c +++ b/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c @@ -190,11 +190,6 @@ BdsLibBootViaBootOption ( DevicePath = Option->DevicePath;
}
- //
- // Drop the TPL level from TPL_APPLICATION to TPL_APPLICATION
- //
- gBS->RestoreTPL (TPL_APPLICATION);
-
DEBUG ((DEBUG_INFO | DEBUG_LOAD, "Booting %S\n", Option->Description));
Status = gBS->LoadImage (
@@ -285,11 +280,6 @@ Done: &Option->BootCurrent
);
- //
- // Raise the TPL level back to TPL_APPLICATION
- //
- gBS->RaiseTPL (TPL_APPLICATION);
-
return Status;
}
|