Changeset 81534 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- Oct 25, 2019 10:20:53 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 134267
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/DevOHCI.cpp
r81533 r81534 192 192 * @implements PDMILEDPORTS 193 193 */ 194 typedef struct ohci_roothub194 typedef struct OHCIROOTHUB 195 195 { 196 196 /** Pointer to the base interface of the VUSB RootHub. */ … … 228 228 * Data used for reattaching devices on a state load. 229 229 */ 230 typedef struct ohci_load230 typedef struct OHCILOAD 231 231 { 232 232 /** Timer used once after state load to inform the guest about new devices. … … 457 457 458 458 459 /* Standard OHCI bus speed */459 /** Standard OHCI bus speed */ 460 460 #define OHCI_DEFAULT_TIMER_FREQ 1000 461 461 462 /* Host Controller Communications Area */ 462 /** Host Controller Communications Area 463 * @{ */ 463 464 #define OHCI_HCCA_NUM_INTR 32 464 465 #define OHCI_HCCA_OFS (OHCI_HCCA_NUM_INTR * sizeof(uint32_t)) 465 struct ohci_hcca 466 typedef struct OCHIHCCA 466 467 { 467 468 uint16_t frame; 468 469 uint16_t pad; 469 470 uint32_t done; 470 }; 471 AssertCompileSize(ohci_hcca, 8); 471 } OCHIHCCA; 472 AssertCompileSize(OCHIHCCA, 8); 473 /** @} */ 472 474 473 475 /** @name OHCI Endpoint Descriptor … … 637 639 * OHCI register operator. 638 640 */ 639 typedef struct ohci_opreg641 typedef struct OHCIOPREG 640 642 { 641 643 const char *pszName; … … 3986 3988 static void ohciR3UpdateHCCA(PPDMDEVINS pDevIns, POHCI pThis) 3987 3989 { 3988 struct ohci_hccahcca;3990 OCHIHCCA hcca; 3989 3991 ohciR3PhysRead(pDevIns, pThis->hcca + OHCI_HCCA_OFS, &hcca, sizeof(hcca)); 3990 3992 … … 4011 4013 ohciR3DumpTdQueue(pDevIns, pThis, hcca.done & ED_PTR_MASK, "DoneQueue"); 4012 4014 # endif 4013 Assert(RT_OFFSETOF( struct ohci_hcca, done) == 4);4015 Assert(RT_OFFSETOF(OCHIHCCA, done) == 4); 4014 4016 # if defined(VBOX_STRICT) || defined(LOG_ENABLED) 4015 4017 ohciR3InDoneQueueZap(pThis);
Note:
See TracChangeset
for help on using the changeset viewer.