mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
10dfa028f0
commit
b77e1a240e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user