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>
This commit is contained in:
Star Zeng 2018-03-03 15:26:17 +08:00
parent 10dfa028f0
commit b77e1a240e
1 changed files with 3 additions and 3 deletions

View File

@ -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);