From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 15EC321E14539 for ; Wed, 16 Aug 2017 18:05:42 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Aug 2017 18:08:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,385,1498546800"; d="scan'208";a="301168927" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by fmsmga004.fm.intel.com with ESMTP; 16 Aug 2017 18:08:07 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Jiewen Yao Date: Thu, 17 Aug 2017 09:07:44 +0800 Message-Id: <1502932064-279976-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [patch] IntelSiliconPkg/IntelVTdDxe: Update function comments 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: Thu, 17 Aug 2017 01:05:42 -0000 In commit 4ad5f597153c7cb20a968236c2c7d6ff01994350, the parameters of some functions have been updated, but miss to update the comments accordingly. This patch is to update the function comments. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi --- IntelSiliconPkg/IntelVTdDxe/DmaProtection.h | 1 + IntelSiliconPkg/IntelVTdDxe/TranslationTable.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/IntelSiliconPkg/IntelVTdDxe/DmaProtection.h b/IntelSiliconPkg/IntelVTdDxe/DmaProtection.h index c3b57a0..c311b29 100644 --- a/IntelSiliconPkg/IntelVTdDxe/DmaProtection.h +++ b/IntelSiliconPkg/IntelVTdDxe/DmaProtection.h @@ -314,10 +314,11 @@ DumpSecondLevelPagingEntry ( /** Set VTd attribute for a system memory. @param[in] VtdIndex The index used to identify a VTd engine. + @param[in] DomainIdentifier The domain ID of the source. @param[in] SecondLevelPagingEntry The second level paging entry in VTd table for the device. @param[in] BaseAddress The base of device memory address to be used as the DMA memory. @param[in] Length The length of device memory address to be used as the DMA memory. @param[in] IoMmuAccess The IOMMU access. diff --git a/IntelSiliconPkg/IntelVTdDxe/TranslationTable.c b/IntelSiliconPkg/IntelVTdDxe/TranslationTable.c index 80fc823..bc0c24c 100644 --- a/IntelSiliconPkg/IntelVTdDxe/TranslationTable.c +++ b/IntelSiliconPkg/IntelVTdDxe/TranslationTable.c @@ -732,10 +732,11 @@ SplitSecondLevelPage ( /** Set VTd attribute for a system memory on second level page entry @param[in] VtdIndex The index used to identify a VTd engine. + @param[in] DomainIdentifier The domain ID of the source. @param[in] SecondLevelPagingEntry The second level paging entry in VTd table for the device. @param[in] BaseAddress The base of device memory address to be used as the DMA memory. @param[in] Length The length of device memory address to be used as the DMA memory. @param[in] IoMmuAccess The IOMMU access. @@ -815,10 +816,11 @@ SetSecondLevelPagingAttribute ( /** Set VTd attribute for a system memory. @param[in] VtdIndex The index used to identify a VTd engine. + @param[in] DomainIdentifier The domain ID of the source. @param[in] SecondLevelPagingEntry The second level paging entry in VTd table for the device. @param[in] BaseAddress The base of device memory address to be used as the DMA memory. @param[in] Length The length of device memory address to be used as the DMA memory. @param[in] IoMmuAccess The IOMMU access. -- 1.9.5.msysgit.1