pair RaiseTPL with RestoreTPL
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 13 Mar 2007 07:45:05 +0000 (07:45 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 13 Mar 2007 07:45:05 +0000 (07:45 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2455 6f19259b-4bc3-4df7-8a09-765794883524

EdkNt32Pkg/Dxe/WinNtThunk/Bus/BlockIo/WinNtBlockIo.c
EdkNt32Pkg/Dxe/WinNtThunk/Bus/SimpleFileSystem/WinNtSimpleFileSystem.c

index 143d6b5..5e7a985 100644 (file)
@@ -945,7 +945,7 @@ WinNtBlockIoWriteBlocks (
   Status = EFI_SUCCESS;\r
 \r
 Done:\r
-  OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);\r
+  gBS->RestoreTPL (OldTpl);\r
   return Status;\r
 \r
 }\r
index 525b45d..0b5e538 100644 (file)
@@ -1658,7 +1658,7 @@ Returns:
   }\r
 \r
 Done:\r
-  OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);\r
+  gBS->RestoreTPL (OldTpl);\r
   return Status;\r
 }\r
 \r