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
This commit is contained in:
xli24 2008-09-02 14:57:17 +00:00
parent aae7c80fa8
commit cfb0fad6c1
1 changed files with 0 additions and 10 deletions

View File

@ -190,11 +190,6 @@ BdsLibBootViaBootOption (
DevicePath = Option->DevicePath; 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)); DEBUG ((DEBUG_INFO | DEBUG_LOAD, "Booting %S\n", Option->Description));
Status = gBS->LoadImage ( Status = gBS->LoadImage (
@ -285,11 +280,6 @@ Done:
&Option->BootCurrent &Option->BootCurrent
); );
//
// Raise the TPL level back to TPL_APPLICATION
//
gBS->RaiseTPL (TPL_APPLICATION);
return Status; return Status;
} }