mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
pair RaiseTPL with RestoreTPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2455 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
657579afc2
commit
9db9711c41
@ -945,7 +945,7 @@ WinNtBlockIoWriteBlocks (
|
||||
Status = EFI_SUCCESS;
|
||||
|
||||
Done:
|
||||
OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
|
||||
gBS->RestoreTPL (OldTpl);
|
||||
return Status;
|
||||
|
||||
}
|
||||
|
@ -1658,7 +1658,7 @@ Returns:
|
||||
}
|
||||
|
||||
Done:
|
||||
OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
|
||||
gBS->RestoreTPL (OldTpl);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user