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:
@@ -945,7 +945,7 @@ WinNtBlockIoWriteBlocks (
|
|||||||
Status = EFI_SUCCESS;
|
Status = EFI_SUCCESS;
|
||||||
|
|
||||||
Done:
|
Done:
|
||||||
OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
|
gBS->RestoreTPL (OldTpl);
|
||||||
return Status;
|
return Status;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -1658,7 +1658,7 @@ Returns:
|
|||||||
}
|
}
|
||||||
|
|
||||||
Done:
|
Done:
|
||||||
OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
|
gBS->RestoreTPL (OldTpl);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user