VirtualBox

Changeset 6130 in vbox


Ignore:
Timestamp:
Dec 18, 2007 3:58:40 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26861
Message:

r=bird: uOffset -> off. fuzzy-logic (or illogical) spacing.

File:
1 edited

Legend:

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

    r6112 r6130  
    8686     * used by the iSCSI media driver.  */
    8787    PDMINTERFACE_ISCSITRANSPORT,
    88     /** PDMIMEDIAASYNC          - Asynchronous version of the media interface (Down) Coupled with PDMINTERFACE_MEDIA_ASYNC_PORT. */
     88    /** PDMIMEDIAASYNC          - Async version of the media interface  (Down) Coupled with PDMINTERFACE_MEDIA_ASYNC_PORT. */
    8989    PDMINTERFACE_MEDIA_ASYNC,
    90     /** PDMIMEDIAASYNCPORT      - Asynchronous version of the media interface (Up) Coupled with PDMINTERFACE_MEDIA_ASYNC. */
     90    /** PDMIMEDIAASYNCPORT      - Async version of the media interface  (Up)    Coupled with PDMINTERFACE_MEDIA_ASYNC. */
    9191    PDMINTERFACE_MEDIA_ASYNC_PORT,
    92     /** PDMIBLOCKASYNC          - Asynchronous version of the block interface (Down) Coupled with PDMINTERFACE_BLOCK_ASYNC_PORT. */
     92    /** PDMIBLOCKASYNC          - Async version of the block interface  (Down) Coupled with PDMINTERFACE_BLOCK_ASYNC_PORT. */
    9393    PDMINTERFACE_BLOCK_ASYNC,
    94     /** PDMIBLOCKASYNCPORT      - Asynchronous version of the block interface (Up) Coupled with PDMINTERFACE_BLOCK_ASYNC. */
     94    /** PDMIBLOCKASYNCPORT      - Async version of the block interface  (Up)    Coupled with PDMINTERFACE_BLOCK_ASYNC. */
    9595    PDMINTERFACE_BLOCK_ASYNC_PORT,
    96     /** PDMITRANSPORTASYNC      - Transport data asynchronous to their target (Down) Coupled with PDMINTERFACE_TRANSPORT_ASYNC_PORT. */
     96    /** PDMITRANSPORTASYNC      - Transport data async to their target  (Down) Coupled with PDMINTERFACE_TRANSPORT_ASYNC_PORT. */
    9797    PDMINTERFACE_TRANSPORT_ASYNC,
    98     /** PDMITRANSPORTASYNCPORT  - Transport data asynchronous to their target (Up) Coupled with PDMINTERFACE_TRANSPORT_ASYNC. */
     98    /** PDMITRANSPORTASYNCPORT  - Transport data async to their target  (Up)    Coupled with PDMINTERFACE_TRANSPORT_ASYNC. */
    9999    PDMINTERFACE_TRANSPORT_ASYNC_PORT,
    100100
     
    11031103} PDMIISCSITRANSPORT;
    11041104
    1105 /**
    1106  * Block notify interface.
    1107  * Pair with PDMIBLOCKASYNC.
    1108  */
    11091105
    11101106/** Pointer to a asynchronous block notify interface. */
    11111107typedef struct PDMIBLOCKASYNCPORT *PPDMIBLOCKASYNCPORT;
    1112 
    11131108/**
    11141109 * Asynchronous block notify interface.
     
    11221117     * @returns VBox status code.
    11231118     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    1124      * @param   uOffset         Offset the task read from.
     1119     * @param   off             Offset the task read from.
    11251120     * @param   pvBuf           The buffer containig the read data.
    11261121     * @param   cbRead          Number of bytes read.
     
    11281123     * @thread  Any thread.
    11291124     */
    1130     DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbRead, void *pvUser));
     1125    DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbRead, void *pvUser));
    11311126
    11321127    /**
     
    11351130     * @returns VBox status code.
    11361131     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    1137      * @param   uOffset         Offset the task has written to.
     1132     * @param   off             Offset the task has written to.
    11381133     * @param   pvBuf           The buffer containig the written data.
    11391134     * @param   cbWrite         Number of bytes actually written.
     
    11411136     * @thread  Any thread.
    11421137     */
    1143     DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbWrite, void *pvUser));
     1138    DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMIBLOCKASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbWrite, void *pvUser));
    11441139} PDMIBLOCKASYNCPORT;
     1140
    11451141
    11461142/** Pointer to a asynchronous block interface. */
    11471143typedef struct PDMIBLOCKASYNC *PPDMIBLOCKASYNC;
    1148 
    11491144/**
    11501145 * Asynchronous block interface.
     
    12281223} PDMIBLOCKASYNC;
    12291224
    1230 /** Notification interface for completed I/O tasks.
    1231  * Pair with PDMIMEDIAASYNC.
    1232  */
    12331225
    12341226/** Pointer to a asynchronous notification interface. */
    12351227typedef struct PDMIMEDIAASYNCPORT *PPDMIMEDIAASYNCPORT;
    1236 
    12371228/**
    12381229 * Asynchronous media interface.
     
    12461237     * @returns VBox status code.
    12471238     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    1248      * @param   uOffset         Offset the task read from.
     1239     * @param   off             Offset the task read from.
    12491240     * @param   pvBuf           The buffer containig the read data.
    12501241     * @param   cbRead          Number of bytes read.
     
    12521243     * @thread  Any thread.
    12531244     */
    1254     DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbRead, void *pvUser));
     1245    DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbRead, void *pvUser));
    12551246
    12561247    /**
     
    12591250     * @returns VBox status code.
    12601251     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    1261      * @param   uOffset         Offset the task has written to.
     1252     * @param   off             Offset the task has written to.
    12621253     * @param   pvBuf           The buffer containig the written data.
    12631254     * @param   cbWritten       Number of bytes actually written.
     
    12651256     * @thread  Any thread.
    12661257     */
    1267     DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbWritten, void *pvUser));
     1258    DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMIMEDIAASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbWritten, void *pvUser));
    12681259} PDMIMEDIAASYNCPORT;
     1260
    12691261
    12701262/** Pointer to a asynchronous media interface. */
    12711263typedef struct PDMIMEDIAASYNC *PPDMIMEDIAASYNC;
    1272 
    12731264/**
    12741265 * Asynchronous media interface.
     
    14011392} PDMIMEDIAASYNC;
    14021393
    1403 /**
    1404  * Pointer to a async media notify interface.
    1405  * Pair with PDMITRANSPORTASYNC.
    1406  */
     1394
     1395/** Pointer to a async media notify interface. */
    14071396typedef struct PDMITRANSPORTASYNCPORT *PPDMITRANSPORTASYNCPORT;
    1408 
    14091397/**
    14101398 * Notification interface for completed I/O tasks.
     
    14181406     * @returns VBox status code.
    14191407     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    1420      * @param   uOffset         Offset the task read from.
     1408     * @param   off             Offset the task read from.
    14211409     * @param   pvBuf           The buffer containig the read data.
    14221410     * @param   cbRead          Number of bytes read.
     
    14241412     * @thread  Any thread.
    14251413     */
    1426     DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMITRANSPORTASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbRead, void *pvUser));
     1414    DECLR3CALLBACKMEMBER(int, pfnReadCompleteNotify, (PPDMITRANSPORTASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbRead, void *pvUser));
    14271415
    14281416    /**
     
    14311419     * @returns VBox status code.
    14321420     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    1433      * @param   uOffset         Offset the task has written to.
     1421     * @param   off             Offset the task has written to.
    14341422     * @param   pvBuf           The buffer containig the written data.
    14351423     * @param   cbWritten       Number of bytes actually written.
     
    14371425     * @thread  Any thread.
    14381426     */
    1439     DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMITRANSPORTASYNCPORT pInterface, uint64_t uOffset, void *pvBuf, size_t cbWritten, void *pvUser));
     1427    DECLR3CALLBACKMEMBER(int, pfnWriteCompleteNotify, (PPDMITRANSPORTASYNCPORT pInterface, uint64_t off, void *pvBuf, size_t cbWritten, void *pvUser));
    14401428} PDMITRANSPORTASYNCPORT;
     1429
    14411430
    14421431/** Pointer to a async media interface. */
     
    14541443     * @returns VBox status code.
    14551444     * @param   pInterface      Pointer to the interface structure containint the called function pointer.
    1456      * @param   uOffset         Offset to start reading from.
     1445     * @param   off             Offset to start reading from.
    14571446     * @param   pvBuf           here to store the read bits.
    14581447     * @param   cbRead          Number of bytes to read.
     
    14601449     * @thread  Any thread.
    14611450     */
    1462     DECLR3CALLBACKMEMBER(int, pfnReadSynchronous, (PPDMITRANSPORTASYNC pInterface, uint64_t uOffset, void *pvBuf, size_t cbRead, size_t *pcbRead));
     1451    DECLR3CALLBACKMEMBER(int, pfnReadSynchronous, (PPDMITRANSPORTASYNC pInterface, uint64_t off, void *pvBuf, size_t cbRead, size_t *pcbRead));
    14631452
    14641453    /**
     
    14681457     * @returns VBox status code.
    14691458     * @param   pInterface      Pointer to the interface structure containint the called function pointer.
    1470      * @param   uOffset         Offset to start reading from.
     1459     * @param   off             Offset to start reading from.
    14711460     * @param   pvBuf           here to store the read bits.
    14721461     * @param   cbWrite         Number of bytes to read.
     
    14741463     * @thread  Any thread.
    14751464     */
    1476     DECLR3CALLBACKMEMBER(int, pfnWriteSynchronous, (PPDMITRANSPORTASYNC pInterface, uint64_t uOffset, void *pvBuf, size_t cbWrite, size_t *pcbWritten));
     1465    DECLR3CALLBACKMEMBER(int, pfnWriteSynchronous, (PPDMITRANSPORTASYNC pInterface, uint64_t off, void *pvBuf, size_t cbWrite, size_t *pcbWritten));
    14771466
    14781467    /**
     
    15521541
    15531542} PDMITRANSPORTASYNC;
     1543
    15541544
    15551545/** @name Bit mask definitions for status line type
     
    15611551/** @} */
    15621552
    1563 
    15641553/** Pointer to a char port interface. */
    15651554typedef struct PDMICHARPORT *PPDMICHARPORT;
     
    15911580    DECLR3CALLBACKMEMBER(int, pfnNotifyStatusLinesChanged,(PPDMICHARPORT pInterface, uint32_t fNewStatusLines));
    15921581} PDMICHARPORT;
     1582
    15931583
    15941584/** Pointer to a char interface. */
     
    16721662/** Pointer to a host device port interface. */
    16731663typedef struct PDMIHOSTDEVICEPORT *PPDMIHOSTDEVICEPORT;
    1674 
    16751664/**
    16761665 * Char port interface.
     
    16911680} PDMIHOSTDEVICEPORT;
    16921681
     1682
    16931683/** Pointer to a Host Device connector interface. */
    16941684typedef struct PDMIHOSTDEVICECONNECTOR *PPDMIHOSTDEVICECONNECTOR;
    1695 
    16961685/**
    16971686 * Host device connector interface
Note: See TracChangeset for help on using the changeset viewer.

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