diff options
author | Star Zeng <star.zeng@intel.com> | 2018-03-03 15:26:17 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2018-03-04 14:47:14 +0800 |
commit | b77e1a240e0aa222b249817eb47149febf142eeb (patch) | |
tree | 45574480134716d945ce367c4bb0e8dfd4c81ec2 | |
parent | 10dfa028f0a1c00dc1e61143ada9bfc88df0ca3f (diff) | |
download | edk2-b77e1a240e0aa222b249817eb47149febf142eeb.zip edk2-b77e1a240e0aa222b249817eb47149febf142eeb.tar.gz edk2-b77e1a240e0aa222b249817eb47149febf142eeb.tar.bz2 |
MdeModulePkg UsbMass: Correct comment about TPL for BLOCK IO APIs
Current BLOCK IO API code is using TPL_CALLBACK,
but comment is saying TPL_NOTIFY.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c index bb292ed..448bcc2 100644 --- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c +++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c @@ -60,7 +60,7 @@ UsbMassReset ( EFI_STATUS Status;
//
- // Raise TPL to TPL_NOTIFY to serialize all its operations
+ // Raise TPL to TPL_CALLBACK to serialize all its operations
// to protect shared data structures.
//
OldTpl = gBS->RaiseTPL (TPL_CALLBACK);
@@ -114,7 +114,7 @@ UsbMassReadBlocks ( UINTN TotalBlock;
//
- // Raise TPL to TPL_NOTIFY to serialize all its operations
+ // Raise TPL to TPL_CALLBACK to serialize all its operations
// to protect shared data structures.
//
OldTpl = gBS->RaiseTPL (TPL_CALLBACK);
@@ -230,7 +230,7 @@ UsbMassWriteBlocks ( UINTN TotalBlock;
//
- // Raise TPL to TPL_NOTIFY to serialize all its operations
+ // Raise TPL to TPL_CALLBACK to serialize all its operations
// to protect shared data structures.
//
OldTpl = gBS->RaiseTPL (TPL_CALLBACK);
|