]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg UefiScsiLib: Raise the Tpl of async IO callback to TPL_NOTIFY
authorHao Wu <hao.a.wu@intel.com>
Tue, 22 Dec 2015 13:58:09 +0000 (13:58 +0000)
committerhwu1225 <hwu1225@Edk2>
Tue, 22 Dec 2015 13:58:09 +0000 (13:58 +0000)
Raise the Tpl of async SCSI I/O callback function to TPL_NOTIFY to match
the behavior in ScsiDiskDxe driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19453 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/UefiScsiLib/UefiScsiLib.c

index 0a08e4468ed0002489bf8a8c36732dd0bb4ad6d3..d399e2344fa6dd194edc50ba89f889601a78582c 100644 (file)
@@ -1485,7 +1485,7 @@ ScsiRead10CommandEx (
   //\r
   Status = gBS->CreateEvent (\r
                   EVT_NOTIFY_SIGNAL,\r
-                  TPL_CALLBACK,\r
+                  TPL_NOTIFY,\r
                   ScsiLibNotify,\r
                   Context,\r
                   &SelfEvent\r
@@ -1669,7 +1669,7 @@ ScsiWrite10CommandEx (
   //\r
   Status = gBS->CreateEvent (\r
                   EVT_NOTIFY_SIGNAL,\r
-                  TPL_CALLBACK,\r
+                  TPL_NOTIFY,\r
                   ScsiLibNotify,\r
                   Context,\r
                   &SelfEvent\r
@@ -1853,7 +1853,7 @@ ScsiRead16CommandEx (
   //\r
   Status = gBS->CreateEvent (\r
                   EVT_NOTIFY_SIGNAL,\r
-                  TPL_CALLBACK,\r
+                  TPL_NOTIFY,\r
                   ScsiLibNotify,\r
                   Context,\r
                   &SelfEvent\r
@@ -2037,7 +2037,7 @@ ScsiWrite16CommandEx (
   //\r
   Status = gBS->CreateEvent (\r
                   EVT_NOTIFY_SIGNAL,\r
-                  TPL_CALLBACK,\r
+                  TPL_NOTIFY,\r
                   ScsiLibNotify,\r
                   Context,\r
                   &SelfEvent\r