VirtualBox

Changeset 26248 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 5, 2010 12:01:38 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57304
Message:

USB: Descriptor member name cleanup. (#2603)

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r26182 r26248  
    5656 *
    5757 * This structure is owned by the USB device but provided to the PDM/VUSB layer
    58  * thru the PDMUSBREG::pfnGetDescriptorCache method. PDM/VUSB will use the
     58 * thru the PDMUSBREG::pfnGetDescriptorCache method.  PDM/VUSB will use the
    5959 * information here to map addresses to endpoints, perform SET_CONFIGURATION
    6060 * requests, and optionally perform GET_DESCRIPTOR requests (see flag).
  • trunk/include/VBox/vusb.h

    r26112 r26248  
    198198    /** Pointer to an array of the interfaces referenced in the configuration.
    199199     * Core.bNumInterfaces in size. */
    200     const struct VUSBINTERFACE *iface;
     200    const struct VUSBINTERFACE *paIfs;
    201201} VUSBDESCCONFIGEX;
    202202/** Pointer to a parsed USB configuration descriptor. */
     
    212212{
    213213    /** Pointer to an array of interfaces. */
    214     const struct VUSBDESCINTERFACEEX *setting;
     214    const struct VUSBDESCINTERFACEEX *paSettings;
    215215    /** The number of entries in the array. */
    216     unsigned int num_settings;
     216    uint32_t cSettings;
    217217} VUSBINTERFACE;
    218218/** Pointer to a VUSBINTERFACE. */
     
    233233    /** Pointer to an array of the endpoints referenced by the interface.
    234234     * Core.bNumEndpoints in size. */
    235     const struct VUSBDESCENDPOINTEX *endpoint;
     235    const struct VUSBDESCENDPOINTEX *paEndpoints;
    236236} VUSBDESCINTERFACEEX;
    237237/** Pointer to an prased USB interface descriptor. */
     
    10101010
    10111011/** The magic value of a valid VUSBURB. (Murakami Haruki) */
    1012 #define VUSBURB_MAGIC   0x19490112
     1012#define VUSBURB_MAGIC       UINT32_C(0x19490112)
    10131013
    10141014/** @} */
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