mirror of https://github.com/acidanthera/audk.git
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:
parent
aae7c80fa8
commit
cfb0fad6c1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue