VirtualBox

Changeset 59305 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 10, 2016 8:38:50 PM (9 years ago)
Author:
vboxsync
Message:

Storage/NVMe: Convert emulation to use PDMIMEDIAEX instead of PDMIMEDIAASYNC

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r59299 r59305  
    14671467#define VERR_PDM_MEDIAEX_IOBUF_OVERFLOW             (-2894)
    14681468/** There is not enough data to satisfy the request. */
    1469 #define VERR_PDM_MEDIAEX_IOBUF_UNDERFLOW            (-2895)
     1469#define VERR_PDM_MEDIAEX_IOBUF_UNDERRUN             (-2895)
    14701470/** The I/O request ID is already existing. */
    14711471#define VERR_PDM_MEDIAEX_IOREQID_CONFLICT           (-2896)
  • trunk/include/VBox/vmm/pdmstorageifs.h

    r59291 r59305  
    571571typedef uint64_t PDMMEDIAEXIOREQID;
    572572
     573/**
     574 * I/O Request Type.
     575 */
     576typedef enum PDMMEDIAEXIOREQTYPE
     577{
     578    /** Invalid tpe. */
     579    PDMMEDIAEXIOREQTYPE_INVALID = 0,
     580    /** Flush request. */
     581    PDMMEDIAEXIOREQTYPE_FLUSH,
     582    /** Write request. */
     583    PDMMEDIAEXIOREQTYPE_WRITE,
     584    /** Read request. */
     585    PDMMEDIAEXIOREQTYPE_READ,
     586    /** Discard request. */
     587    PDMMEDIAEXIOREQTYPE_DISCARD
     588} PDMMEDIAEXIOREQTYPE;
     589
    573590/** @name I/O request specific flags
    574591 * @{ */
     
    623640     *
    624641     * @returns VBox status code.
    625      * @retval  VERR_PDM_MEDIAEX_IOBUF_UNDERFLOW if there is not enough data to copy from the buffer.
     642     * @retval  VERR_PDM_MEDIAEX_IOBUF_UNDERRUN if there is not enough data to copy from the buffer.
    626643     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    627644     * @param   hIoReq          The I/O request handle.
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