From: Star Zeng Date: Sat, 3 Mar 2018 07:26:17 +0000 (+0800) Subject: MdeModulePkg UsbMass: Correct comment about TPL for BLOCK IO APIs X-Git-Tag: edk2-stable201903~2269 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=b77e1a240e0aa222b249817eb47149febf142eeb 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 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Ruiyu Ni --- diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c index bb292ed3eb..448bcc2f80 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);