summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2015-12-22 13:58:09 +0000
committerhwu1225 <hwu1225@Edk2>2015-12-22 13:58:09 +0000
commitc018a257622401ce156e0d0daa28488475cdc3c0 (patch)
treeba72a20fb459ffafe2dfca069f53150d41e26daf
parenta717086c5f973821b9b49646a4ec725f6b898bdb (diff)
downloadedk2-platforms-c018a257622401ce156e0d0daa28488475cdc3c0.tar.xz
MdePkg UefiScsiLib: Raise the Tpl of async IO callback to TPL_NOTIFY
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
-rw-r--r--MdePkg/Library/UefiScsiLib/UefiScsiLib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
index 0a08e4468e..d399e2344f 100644
--- a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
+++ b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
@@ -1485,7 +1485,7 @@ ScsiRead10CommandEx (
//
Status = gBS->CreateEvent (
EVT_NOTIFY_SIGNAL,
- TPL_CALLBACK,
+ TPL_NOTIFY,
ScsiLibNotify,
Context,
&SelfEvent
@@ -1669,7 +1669,7 @@ ScsiWrite10CommandEx (
//
Status = gBS->CreateEvent (
EVT_NOTIFY_SIGNAL,
- TPL_CALLBACK,
+ TPL_NOTIFY,
ScsiLibNotify,
Context,
&SelfEvent
@@ -1853,7 +1853,7 @@ ScsiRead16CommandEx (
//
Status = gBS->CreateEvent (
EVT_NOTIFY_SIGNAL,
- TPL_CALLBACK,
+ TPL_NOTIFY,
ScsiLibNotify,
Context,
&SelfEvent
@@ -2037,7 +2037,7 @@ ScsiWrite16CommandEx (
//
Status = gBS->CreateEvent (
EVT_NOTIFY_SIGNAL,
- TPL_CALLBACK,
+ TPL_NOTIFY,
ScsiLibNotify,
Context,
&SelfEvent