From nobody Sat May 4 18:27:29 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1502932091501462.8217166544549; Wed, 16 Aug 2017 18:08:11 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9871221E2572D; Wed, 16 Aug 2017 18:05:42 -0700 (PDT) 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 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 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,385,1498546800"; d="scan'208";a="301168927" From: Dandan Bi To: edk2-devel@lists.01.org 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: [edk2] [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: , Cc: Jiewen Yao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Jiewen.yao@intel.com --- 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 ( =20 /** Set VTd attribute for a system memory. =20 @param[in] VtdIndex The index used to identify a VTd eng= ine. + @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. =20 diff --git a/IntelSiliconPkg/IntelVTdDxe/TranslationTable.c b/IntelSiliconP= kg/IntelVTdDxe/TranslationTable.c index 80fc823..bc0c24c 100644 --- a/IntelSiliconPkg/IntelVTdDxe/TranslationTable.c +++ b/IntelSiliconPkg/IntelVTdDxe/TranslationTable.c @@ -732,10 +732,11 @@ SplitSecondLevelPage ( =20 /** Set VTd attribute for a system memory on second level page entry =20 @param[in] VtdIndex The index used to identify a VTd eng= ine. + @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. =20 @@ -815,10 +816,11 @@ SetSecondLevelPagingAttribute ( =20 /** Set VTd attribute for a system memory. =20 @param[in] VtdIndex The index used to identify a VTd eng= ine. + @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. =20 --=20 1.9.5.msysgit.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel