MdeModulePkg/Core: Fix typos in comments
- paramters -> parameters - funciton -> function - dependecy -> dependency - evauated -> evaluated - genric -> generic - retore -> restore - Protocl -> Protocol - availible -> available - elasped -> elapsed - sarted -> started - boundry -> boundary - permenent -> permanent - debuging -> debugging - availble -> available Cc: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -234,7 +234,7 @@ FwVolBlockReadBlock (
|
||||
|
||||
if (Offset > FvbDevice->LbaCache[LbaIndex].Length) {
|
||||
//
|
||||
// all exceed boundry, read nothing.
|
||||
// all exceed boundary, read nothing.
|
||||
//
|
||||
*NumBytes = 0;
|
||||
return EFI_BAD_BUFFER_SIZE;
|
||||
@@ -243,7 +243,7 @@ FwVolBlockReadBlock (
|
||||
NumOfBytesRead = *NumBytes;
|
||||
if (Offset + NumOfBytesRead > FvbDevice->LbaCache[LbaIndex].Length) {
|
||||
//
|
||||
// partial exceed boundry, read data from current postion to end.
|
||||
// partial exceed boundary, read data from current postion to end.
|
||||
//
|
||||
NumOfBytesRead = FvbDevice->LbaCache[LbaIndex].Length - Offset;
|
||||
}
|
||||
|
Reference in New Issue
Block a user