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:
qwang12 2007-03-13 07:45:05 +00:00
parent 657579afc2
commit 9db9711c41
2 changed files with 2 additions and 2 deletions

View File

@ -945,7 +945,7 @@ WinNtBlockIoWriteBlocks (
Status = EFI_SUCCESS;
Done:
OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
gBS->RestoreTPL (OldTpl);
return Status;
}

View File

@ -1658,7 +1658,7 @@ Returns:
}
Done:
OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
gBS->RestoreTPL (OldTpl);
return Status;
}