summaryrefslogtreecommitdiff
path: root/IntelSiliconPkg
diff options
context:
space:
mode:
authorBi, Dandan <dandan.bi@intel.com>2017-08-17 09:07:44 +0800
committerJiewen Yao <jiewen.yao@intel.com>2017-08-17 11:47:01 +0800
commitd654bf852f86902816f0ecddff90aa772f71dd09 (patch)
treeb3e2466e0f8cf4ede6c47ccdb71305d369cf5755 /IntelSiliconPkg
parent4e33ff75d9dccd3a59f70eeeaff9e3208426f63e (diff)
downloadedk2-d654bf852f86902816f0ecddff90aa772f71dd09.zip
edk2-d654bf852f86902816f0ecddff90aa772f71dd09.tar.gz
edk2-d654bf852f86902816f0ecddff90aa772f71dd09.tar.bz2
IntelSiliconPkg/IntelVTdDxe: Update function comments
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> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'IntelSiliconPkg')
-rw-r--r--IntelSiliconPkg/IntelVTdDxe/DmaProtection.h1
-rw-r--r--IntelSiliconPkg/IntelVTdDxe/TranslationTable.c2
2 files changed, 3 insertions, 0 deletions
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
@@ -316,6 +316,7 @@ 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.
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
@@ -734,6 +734,7 @@ 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.
@@ -817,6 +818,7 @@ 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.