From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=dandan.bi@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C02BA20347157 for ; Thu, 19 Oct 2017 17:56:51 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP; 19 Oct 2017 18:00:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,404,1503385200"; d="scan'208";a="911740758" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by FMSMGA003.fm.intel.com with ESMTP; 19 Oct 2017 18:00:25 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Eric Dong , Ruiyu Ni Date: Fri, 20 Oct 2017 08:59:53 +0800 Message-Id: <1508461193-5204-5-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1508461193-5204-1-git-send-email-dandan.bi@intel.com> References: <1508461193-5204-1-git-send-email-dandan.bi@intel.com> Subject: [patch 4/4] UefiCpuPkg/MtrrLib: Make comments align with function X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 00:56:51 -0000 Cc: Eric Dong Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- UefiCpuPkg/Include/Library/MtrrLib.h | 2 +- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h b/UefiCpuPkg/Include/Library/MtrrLib.h index d05d839..0bf7d8e 100644 --- a/UefiCpuPkg/Include/Library/MtrrLib.h +++ b/UefiCpuPkg/Include/Library/MtrrLib.h @@ -373,11 +373,11 @@ MtrrSetMemoryAttributeInMtrrSettings ( needs more scratch buffer. @param[in] Ranges Pointer to an array of MTRR_MEMORY_RANGE. 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. @retval RETURN_UNSUPPORTED The processor does not support one or more bytes of the memory resource range specified by BaseAddress and Length in any range. diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c index cb22558..579af27 100644 --- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c +++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c @@ -2146,11 +2146,11 @@ MtrrLibSetBelow1MBMemoryAttribute ( needs more scratch buffer. @param[in] Ranges Pointer to an array of MTRR_MEMORY_RANGE. 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. @retval RETURN_UNSUPPORTED The processor does not support one or more bytes of the memory resource range specified by BaseAddress and Length in any range. -- 1.9.5.msysgit.1