VirtualBox

Changeset 30467 in vbox


Ignore:
Timestamp:
Jun 28, 2010 1:47:43 PM (14 years ago)
Author:
vboxsync
Message:

pdmifs.h: Arrays and counts are plurar. S/G segment arrays are better off documented as arrays instead of lists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmifs.h

    r29590 r30467  
    13971397     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    13981398     * @param   off             Offset to start reading from.c
    1399      * @param   pSeg            Pointer to the first element in the scatter list.
    1400      * @param   cSeg            Number of entries in the list.
     1399     * @param   paSegs          Pointer to the S/G segment array.
     1400     * @param   cSegs           Number of entries in the array.
    14011401     * @param   cbRead          Number of bytes to read. Must be aligned to a sector boundary.
    14021402     * @param   pvUser          User argument which is returned in completion callback.
    14031403     * @thread  Any thread.
    14041404     */
    1405     DECLR3CALLBACKMEMBER(int, pfnStartRead,(PPDMIBLOCKASYNC pInterface, uint64_t off, PCRTSGSEG pSeg, unsigned cSeg, size_t cbRead, void *pvUser));
     1405    DECLR3CALLBACKMEMBER(int, pfnStartRead,(PPDMIBLOCKASYNC pInterface, uint64_t off, PCRTSGSEG paSegs, unsigned cSegs, size_t cbRead, void *pvUser));
    14061406
    14071407    /**
     
    14111411     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    14121412     * @param   off             Offset to start writing at. The offset must be aligned to a sector boundary.
    1413      * @param   pSeg            Pointer to the first element in the gather list.
    1414      * @param   cSeg            Number of entries in the list.
     1413     * @param   paSegs          Pointer to the S/G segment array.
     1414     * @param   cSegs           Number of entries in the array.
    14151415     * @param   cbWrite         Number of bytes to write. Must be aligned to a sector boundary.
    14161416     * @param   pvUser          User argument which is returned in completion callback.
    14171417     * @thread  Any thread.
    14181418     */
    1419     DECLR3CALLBACKMEMBER(int, pfnStartWrite,(PPDMIBLOCKASYNC pInterface, uint64_t off, PCRTSGSEG pSeg, unsigned cSeg, size_t cbWrite, void *pvUser));
     1419    DECLR3CALLBACKMEMBER(int, pfnStartWrite,(PPDMIBLOCKASYNC pInterface, uint64_t off, PCRTSGSEG paSegs, unsigned cSegs, size_t cbWrite, void *pvUser));
    14201420
    14211421    /**
     
    14711471     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    14721472     * @param   off             Offset to start reading from. Must be aligned to a sector boundary.
    1473      * @param   pSeg            Pointer to the first element in the scatter list.
    1474      * @param   cSeg            Number of entries in the list.
     1473     * @param   paSegs          Pointer to the S/G segment array.
     1474     * @param   cSegs           Number of entries in the array.
    14751475     * @param   cbRead          Number of bytes to read. Must be aligned to a sector boundary.
    14761476     * @param   pvUser          User data.
    14771477     * @thread  Any thread.
    14781478     */
    1479     DECLR3CALLBACKMEMBER(int, pfnStartRead,(PPDMIMEDIAASYNC pInterface, uint64_t off, PCRTSGSEG pSeg, unsigned cSeg, size_t cbRead, void *pvUser));
     1479    DECLR3CALLBACKMEMBER(int, pfnStartRead,(PPDMIMEDIAASYNC pInterface, uint64_t off, PCRTSGSEG paSegs, unsigned cSegs, size_t cbRead, void *pvUser));
    14801480
    14811481    /**
     
    14851485     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    14861486     * @param   off             Offset to start writing at. Must be aligned to a sector boundary.
    1487      * @param   pSeg            Pointer to the first element in the gather list.
    1488      * @param   cSeg            Number of entries in the list.
     1487     * @param   paSegs          Pointer to the S/G segment array.
     1488     * @param   cSegs           Number of entries in the array.
    14891489     * @param   cbWrite         Number of bytes to write. Must be aligned to a sector boundary.
    14901490     * @param   pvUser          User data.
    14911491     * @thread  Any thread.
    14921492     */
    1493     DECLR3CALLBACKMEMBER(int, pfnStartWrite,(PPDMIMEDIAASYNC pInterface, uint64_t off, PCRTSGSEG pSeg, unsigned cSeg, size_t cbWrite, void *pvUser));
     1493    DECLR3CALLBACKMEMBER(int, pfnStartWrite,(PPDMIMEDIAASYNC pInterface, uint64_t off, PCRTSGSEG paSegs, unsigned cSegs, size_t cbWrite, void *pvUser));
    14941494
    14951495    /**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette