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