From a7615fa87528fad341a37880d36e95f16faca5d3 Mon Sep 17 00:00:00 2001 From: jljusten Date: Wed, 15 May 2013 06:23:22 +0000 Subject: [PATCH] OvmfPkg: adapt VirtioFlush()'s leading comment to the coding style Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14362 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/Include/Library/VirtioLib.h | 9 ++++----- OvmfPkg/Library/VirtioLib/VirtioLib.c | 9 ++++----- 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.