diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-13 07:45:05 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-13 07:45:05 +0000 |
commit | 9db9711c414fe3207ffae81b3c1627554c428308 (patch) | |
tree | 102d305053348103b787600b2aea0e6009e56eea /EdkNt32Pkg | |
parent | 657579afc27fb0abce9a2354dd0c5d3950490ac9 (diff) | |
download | edk2-platforms-9db9711c414fe3207ffae81b3c1627554c428308.tar.xz |
pair RaiseTPL with RestoreTPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2455 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkNt32Pkg')
-rw-r--r-- | EdkNt32Pkg/Dxe/WinNtThunk/Bus/BlockIo/WinNtBlockIo.c | 2 | ||||
-rw-r--r-- | EdkNt32Pkg/Dxe/WinNtThunk/Bus/SimpleFileSystem/WinNtSimpleFileSystem.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/BlockIo/WinNtBlockIo.c b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/BlockIo/WinNtBlockIo.c index 143d6b5a1e..5e7a985ed6 100644 --- a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/BlockIo/WinNtBlockIo.c +++ b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/BlockIo/WinNtBlockIo.c @@ -945,7 +945,7 @@ WinNtBlockIoWriteBlocks ( Status = EFI_SUCCESS;
Done:
- OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
+ gBS->RestoreTPL (OldTpl);
return Status;
}
diff --git a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/SimpleFileSystem/WinNtSimpleFileSystem.c b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/SimpleFileSystem/WinNtSimpleFileSystem.c index 525b45d78e..0b5e538da7 100644 --- a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/SimpleFileSystem/WinNtSimpleFileSystem.c +++ b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/SimpleFileSystem/WinNtSimpleFileSystem.c @@ -1658,7 +1658,7 @@ Returns: }
Done:
- OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
+ gBS->RestoreTPL (OldTpl);
return Status;
}
|