VirtualBox

Changeset 81534 in vbox for trunk/src/VBox/Devices/USB


Ignore:
Timestamp:
Oct 25, 2019 10:20:53 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134267
Message:

DevOHCI: Style nits. bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/DevOHCI.cpp

    r81533 r81534  
    192192 * @implements  PDMILEDPORTS
    193193 */
    194 typedef struct ohci_roothub
     194typedef struct OHCIROOTHUB
    195195{
    196196    /** Pointer to the base interface of the VUSB RootHub. */
     
    228228 * Data used for reattaching devices on a state load.
    229229 */
    230 typedef struct ohci_load
     230typedef struct OHCILOAD
    231231{
    232232    /** Timer used once after state load to inform the guest about new devices.
     
    457457
    458458
    459 /* Standard OHCI bus speed */
     459/** Standard OHCI bus speed */
    460460#define OHCI_DEFAULT_TIMER_FREQ     1000
    461461
    462 /* Host Controller Communications Area */
     462/** Host Controller Communications Area
     463 * @{  */
    463464#define OHCI_HCCA_NUM_INTR  32
    464465#define OHCI_HCCA_OFS       (OHCI_HCCA_NUM_INTR * sizeof(uint32_t))
    465 struct ohci_hcca
     466typedef struct OCHIHCCA
    466467{
    467468    uint16_t frame;
    468469    uint16_t pad;
    469470    uint32_t done;
    470 };
    471 AssertCompileSize(ohci_hcca, 8);
     471} OCHIHCCA;
     472AssertCompileSize(OCHIHCCA, 8);
     473/** @} */
    472474
    473475/** @name OHCI Endpoint Descriptor
     
    637639 * OHCI register operator.
    638640 */
    639 typedef struct ohci_opreg
     641typedef struct OHCIOPREG
    640642{
    641643    const char *pszName;
     
    39863988static void ohciR3UpdateHCCA(PPDMDEVINS pDevIns, POHCI pThis)
    39873989{
    3988     struct ohci_hcca hcca;
     3990    OCHIHCCA hcca;
    39893991    ohciR3PhysRead(pDevIns, pThis->hcca + OHCI_HCCA_OFS, &hcca, sizeof(hcca));
    39903992
     
    40114013        ohciR3DumpTdQueue(pDevIns, pThis, hcca.done & ED_PTR_MASK, "DoneQueue");
    40124014# endif
    4013         Assert(RT_OFFSETOF(struct ohci_hcca, done) == 4);
     4015        Assert(RT_OFFSETOF(OCHIHCCA, done) == 4);
    40144016# if defined(VBOX_STRICT) || defined(LOG_ENABLED)
    40154017        ohciR3InDoneQueueZap(pThis);
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