diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h b/UefiCpuPkg/Include/Library/MtrrLib.h index d05d839915..0bf7d8ed10 100644 --- a/UefiCpuPkg/Include/Library/MtrrLib.h +++ b/UefiCpuPkg/Include/Library/MtrrLib.h @@ -375,7 +375,7 @@ MtrrSetMemoryAttributeInMtrrSettings ( When range overlap happens, the last one takes higher priority. When the function returns, either all the attributes are set successfully, or none of them is set. - @param[in] Count of MTRR_MEMORY_RANGE. + @param[in] RangeCount Count of MTRR_MEMORY_RANGE. @retval RETURN_SUCCESS The attributes were set for all the memory ranges. @retval RETURN_INVALID_PARAMETER Length in any range is zero. diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c index 8e46e46cd4..9c66f93ac2 100644 --- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c +++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c @@ -2158,7 +2158,7 @@ MtrrLibSetBelow1MBMemoryAttribute ( When range overlap happens, the last one takes higher priority. When the function returns, either all the attributes are set successfully, or none of them is set. - @param[in] Count of MTRR_MEMORY_RANGE. + @param[in] RangeCount Count of MTRR_MEMORY_RANGE. @retval RETURN_SUCCESS The attributes were set for all the memory ranges. @retval RETURN_INVALID_PARAMETER Length in any range is zero.