From b77e1a240e0aa222b249817eb47149febf142eeb Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Sat, 3 Mar 2018 15:26:17 +0800 Subject: [PATCH] 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 --- MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.2