VirtualBox

Changeset 63992 in vbox for trunk/include


Ignore:
Timestamp:
Sep 25, 2016 5:58:56 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
110898
Message:

VSCSI,DrvSCSI: Switch to PDMIMEDIAEX instead of using PDMIMEDIAASYNC

File:
1 edited

Legend:

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

    r62476 r63992  
    116116{
    117117    /**
     118     * Sets the size of the allocator specific memory for a I/O request.
     119     *
     120     * @returns VBox status code.
     121     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     122     * @param   cbIoReqAlloc    The size of the allocator specific memory in bytes.
     123     * @thread  EMT.
     124     */
     125    DECLR3CALLBACKMEMBER(int, pfnVScsiLunReqAllocSizeSet, (VSCSILUN hVScsiLun, void *pvScsiLunUser,
     126                                                           size_t cbVScsiIoReqAlloc));
     127
     128    /**
     129     * Allocates a new I/O request.
     130     *
     131     * @returns VBox status code.
     132     * @param   hVScsiLun       Virtual SCSI LUN handle.
     133     * @param   pvScsiLunUser   Opaque user data which may be used to identify the
     134     *                          medium.
     135     * @param   u64Tag          A tag to assign to the request handle for identification later on.
     136     * @param   phVScsiIoReq    Where to store the handle to the allocated I/O request on success.
     137     * @thread  Any thread.
     138     */
     139    DECLR3CALLBACKMEMBER(int, pfnVScsiLunReqAlloc, (VSCSILUN hVScsiLun, void *pvScsiLunUser,
     140                                                    uint64_t u64Tag, PVSCSIIOREQ phVScsiIoReq));
     141
     142    /**
     143     * Frees a given I/O request.
     144     *
     145     * @returns VBox status code.
     146     * @param   hVScsiLun       Virtual SCSI LUN handle.
     147     * @param   pvScsiLunUser   Opaque user data which may be used to identify the
     148     *                          medium.
     149     * @param   hVScsiIoReq     The VSCSI I/O request to free.
     150     * @thread  Any thread.
     151     */
     152    DECLR3CALLBACKMEMBER(int, pfnVScsiLunReqFree, (VSCSILUN hVScsiLun, void *pvScsiLunUser, VSCSIIOREQ hVScsiIoReq));
     153
     154    /**
    118155     * Retrieve the size of the underlying medium.
    119156     *
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