diff options
-rw-r--r-- | OvmfPkg/Include/Library/VirtioLib.h | 9 | ||||
-rw-r--r-- | 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.
|