]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Library/VirtioLib.h
OvmfPkg: adapt VirtioAppendDesc()'s leading comment to the coding style
[mirror_edk2.git] / OvmfPkg / Include / Library / VirtioLib.h
index 3bebd9f2f4b7b8f1a9aa81b1ed9df4f82f4e457d..990219cca13cec3e0e64113fb897255e06ac77b1 100644 (file)
@@ -152,7 +152,7 @@ typedef struct {
 \r
   The calling driver must be in VSTAT_DRIVER_OK state.\r
 \r
-  @param[in out] Ring  The virtio ring we intend to append descriptors to.\r
+  @param[in,out] Ring  The virtio ring we intend to append descriptors to.\r
 \r
   @param[out] Indices  The DESC_INDICES structure to initialize.\r
 \r
@@ -180,27 +180,26 @@ VirtioPrepare (
   The caller is responsible for initializing *Indices with VirtioPrepare()\r
   first.\r
 \r
-  @param[in out] Ring           The virtio ring to append the buffer to, as a\r
-                                descriptor.\r
+  @param[in,out] Ring        The virtio ring to append the buffer to, as a\r
+                             descriptor.\r
 \r
-  @param [in] BufferPhysAddr    (Guest pseudo-physical) start address of the\r
-                                transmit / receive buffer.\r
+  @param[in] BufferPhysAddr  (Guest pseudo-physical) start address of the\r
+                             transmit / receive buffer.\r
 \r
-  @param [in] BufferSize        Number of bytes to transmit or receive.\r
+  @param[in] BufferSize      Number of bytes to transmit or receive.\r
 \r
-  @param [in] Flags             A bitmask of VRING_DESC_F_* flags. The caller\r
-                                computes this mask dependent on further buffers\r
-                                to append and transfer direction.\r
-                                VRING_DESC_F_INDIRECT is unsupported. The\r
-                                VRING_DESC.Next field is always set, but the\r
-                                host only interprets it dependent on\r
-                                VRING_DESC_F_NEXT.\r
+  @param[in] Flags           A bitmask of VRING_DESC_F_* flags. The caller\r
+                             computes this mask dependent on further buffers to\r
+                             append and transfer direction.\r
+                             VRING_DESC_F_INDIRECT is unsupported. The\r
+                             VRING_DESC.Next field is always set, but the host\r
+                             only interprets it dependent on VRING_DESC_F_NEXT.\r
 \r
-  In *Indices:\r
-\r
-  @param [in out] NextDescIdx  On input, the index identifying the next\r
-                               descriptor to carry the buffer. On output,\r
-                               incremented by one, modulo 2^16.\r
+  @param[in,out] Indices     Indices->HeadDescIdx is not accessed.\r
+                             On input, Indices->NextDescIdx identifies the next\r
+                             descriptor to carry the buffer. On output,\r
+                             Indices->NextDescIdx is incremented by one, modulo\r
+                             2^16.\r
 \r
 **/\r
 VOID\r