UefiCpuPkg/MtrrLib: Update the comments for RETURN_BUFFER_TOO_SMALL
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Ming Shao <ming.shao@intel.com>
This commit is contained in:
@@ -2513,7 +2513,9 @@ Exit:
|
||||
BaseAddress and Length cannot be modified.
|
||||
@retval RETURN_OUT_OF_RESOURCES There are not enough system resources to modify the attributes of
|
||||
the memory resource range.
|
||||
@retval RETURN_BUFFER_TOO_SMALL The scratch buffer is too small for MTRR calculation.
|
||||
@retval RETURN_BUFFER_TOO_SMALL The fixed internal scratch buffer is too small for MTRR calculation.
|
||||
Caller should use MtrrSetMemoryAttributesInMtrrSettings() to specify
|
||||
external scratch buffer.
|
||||
**/
|
||||
RETURN_STATUS
|
||||
EFIAPI
|
||||
@@ -2559,7 +2561,9 @@ MtrrSetMemoryAttributeInMtrrSettings (
|
||||
@retval RETURN_OUT_OF_RESOURCES There are not enough system resources to
|
||||
modify the attributes of the memory
|
||||
resource range.
|
||||
@retval RETURN_BUFFER_TOO_SMALL The scratch buffer is too small for MTRR calculation.
|
||||
@retval RETURN_BUFFER_TOO_SMALL The fixed internal scratch buffer is too small for MTRR calculation.
|
||||
Caller should use MtrrSetMemoryAttributesInMtrrSettings() to specify
|
||||
external scratch buffer.
|
||||
**/
|
||||
RETURN_STATUS
|
||||
EFIAPI
|
||||
|
Reference in New Issue
Block a user