VirtualBox

Changeset 5745 in vbox for trunk


Ignore:
Timestamp:
Nov 14, 2007 3:16:33 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26117
Message:

VUSB / PDM refactoring (in progress).

File:
1 edited

Legend:

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

    r5722 r5745  
    206206     */
    207207    DECLR3CALLBACKMEMBER(int, pfnQueryInterface,(PPDMUSBINS pUsbIns, unsigned iLUN, PPDMIBASE *ppBase));
     208
     209    /**
     210     * Requests the USB device to reset.
     211     *
     212     * @returns VBox stauts code.
     213     * @param   pUsbInst        The USB device instance.
     214     * @param   fResetOnLinux   A hint to the usb proxy.
     215     *                          Don't use this unless you're the linux proxy device.
     216     * @thread  Any thread.
     217     * @remarks Optional.
     218     */
     219    DECLR3CALLBACKMEMBER(int, pfnUsbReset,(PPDMUSBINS pUsbIns, bool fResetOnLinux));
     220
    208221
    209222    /** Just some init precaution. Must be set to PDM_USBREG_VERSION. */
     
    464477     * @todo Integrate VUSBDEV into this structure. */
    465478    R3PTRTYPE(void *)           pvVUsbDev;
     479    /** Device name for using when logging.
     480     * The constructor sets this and the destructor frees it. */
     481    R3PTRTYPE(char *)           pszName;
    466482    /** Padding to make achInstanceData aligned at 32 byte boundrary. */
    467     uint32_t                    au32Padding[HC_ARCH_BITS == 32 ? 6 : 4];
     483    uint32_t                    au32Padding[HC_ARCH_BITS == 32 ? 5 : 2];
    468484    /** Device instance data. The size of this area is defined
    469485     * in the PDMUSBREG::cbInstanceData field. */
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