summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2013-05-15 06:23:22 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2013-05-15 06:23:22 +0000
commita7615fa87528fad341a37880d36e95f16faca5d3 (patch)
tree2baebc27398c0248c1b2889402d343219bb7dc79
parent11a5fdf43773b2418412f0800ab9770053bcef05 (diff)
downloadedk2-a7615fa87528fad341a37880d36e95f16faca5d3.tar.gz
edk2-a7615fa87528fad341a37880d36e95f16faca5d3.tar.bz2
edk2-a7615fa87528fad341a37880d36e95f16faca5d3.zip
OvmfPkg: adapt VirtioFlush()'s leading comment to the coding style
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14362 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--OvmfPkg/Include/Library/VirtioLib.h9
-rw-r--r--OvmfPkg/Library/VirtioLib/VirtioLib.c9
2 files changed, 8 insertions, 10 deletions
diff --git a/OvmfPkg/Include/Library/VirtioLib.h b/OvmfPkg/Include/Library/VirtioLib.h
index 990219cca1..51303491d0 100644
--- a/OvmfPkg/Include/Library/VirtioLib.h
+++ b/OvmfPkg/Include/Library/VirtioLib.h
@@ -222,12 +222,11 @@ VirtioAppendDesc (
@param[in] VirtQueueId Identifies the queue for the target device.
- @param[in out] Ring The virtio ring with descriptors to submit.
+ @param[in,out] Ring The virtio ring with descriptors to submit.
- In *Indices:
-
- @param[in] HeadDescIdx Identifies the head descriptor of the descriptor
- chain.
+ @param[in] Indices Indices->NextDescIdx is not accessed.
+ Indices->HeadDescIdx identifies the head descriptor
+ of the descriptor chain.
@return Error code from VirtioWrite() if it fails.
diff --git a/OvmfPkg/Library/VirtioLib/VirtioLib.c b/OvmfPkg/Library/VirtioLib/VirtioLib.c
index 97c649b44b..87797e10e7 100644
--- a/OvmfPkg/Library/VirtioLib/VirtioLib.c
+++ b/OvmfPkg/Library/VirtioLib/VirtioLib.c
@@ -380,12 +380,11 @@ VirtioAppendDesc (
@param[in] VirtQueueId Identifies the queue for the target device.
- @param[in out] Ring The virtio ring with descriptors to submit.
+ @param[in,out] Ring The virtio ring with descriptors to submit.
- In *Indices:
-
- @param[in] HeadDescIdx Identifies the head descriptor of the descriptor
- chain.
+ @param[in] Indices Indices->NextDescIdx is not accessed.
+ Indices->HeadDescIdx identifies the head descriptor
+ of the descriptor chain.
@return Error code from VirtioWrite() if it fails.