public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Dandan Bi <dandan.bi@intel.com>
To: edk2-devel@lists.01.org
Cc: Jiewen Yao <jiewen.yao@intel.com>
Subject: [patch] IntelSiliconPkg/IntelVTdDxe: Update function comments
Date: Thu, 17 Aug 2017 09:07:44 +0800	[thread overview]
Message-ID: <1502932064-279976-1-git-send-email-dandan.bi@intel.com> (raw)

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 <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@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 (
 
 /**
   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



             reply	other threads:[~2017-08-17  1:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17  1:07 Dandan Bi [this message]
2017-08-17  1:09 ` [patch] IntelSiliconPkg/IntelVTdDxe: Update function comments Yao, Jiewen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502932064-279976-1-git-send-email-dandan.bi@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox