Changeset 104604 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- May 13, 2024 3:20:33 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/DevOHCI.cpp
r104302 r104604 5303 5303 POHCICC pThisCC = PDMDEVINS_2_DATA_CC(pDevIns, POHCICC); 5304 5304 5305 #ifdef LOG_ENABLED 5305 5306 /* log */ 5306 5307 uint32_t old = pThis->RootHub.status; 5307 uint32_t chg;5308 5308 if (val & ~0x80038003) 5309 5309 Log2(("HcRhStatus_w: Unknown bits %#x are set!!!\n", val & ~0x80038003)); … … 5312 5312 if ( (val & OHCI_RHS_DRWE) && (val & OHCI_RHS_CRWE) ) 5313 5313 Log2(("HcRhStatus_w: Warning both CRWE and SRWE are set! (Clear/Set Remote Wakeup Enable)\n")); 5314 5314 #endif 5315 5315 5316 5316 /* write 1 to clear OCIC */ … … 5342 5342 pThis->RootHub.status &= ~OHCI_RHS_DRWE; 5343 5343 5344 chg = pThis->RootHub.status ^ old; 5344 #ifdef LOG_ENABLED 5345 uint32_t chg = pThis->RootHub.status ^ old; 5345 5346 Log2(("HcRhStatus_w(%#010x) => %sCGP=%d %sOCI=%d %sSRWE=%d %sSGP=%d %sOCIC=%d %sCRWE=%d\n", 5346 5347 val, … … 5351 5352 (chg >> 17) & 1 ? "*" : "", (val >> 17) & 1, 5352 5353 (chg >> 31) & 1 ? "*" : "", (val >> 31) & 1)); 5354 #endif 5353 5355 RT_NOREF(pDevIns, iReg); 5354 5356 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.