Changeset 58354 in vbox for trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
- Timestamp:
- Oct 21, 2015 10:13:47 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r58126 r58354 299 299 else 300 300 { 301 STAM_STATS({ if (pStats) 302 STAM_COUNTER_INC(&pStats->InRZToR3); }); 301 STAM_STATS({ if (pStats) STAM_COUNTER_INC(&pStats->InRZToR3); }); 303 302 IOM_UNLOCK_SHARED(pVM); 304 return VINF_ SUCCESS;303 return VINF_IOM_R3_IOPORT_READ; 305 304 } 306 305 #endif … … 411 410 * Ok, no handler for this port. 412 411 */ 412 *pcTransfers = 0; 413 memset(pvDst, 0xff, cRequestedTransfers * cb); 413 414 #ifdef VBOX_WITH_STATISTICS 414 415 if (pStats) 415 416 STAM_COUNTER_INC(&pStats->CTX_SUFF_Z(In)); 416 417 #endif 417 418 Log3(("IOMIOPortReadStr: uPort=%RTiop pvDst=%p pcTransfer=%p:{%#x->%#x} cb=%d rc=VINF_SUCCESS\n", 418 Log3(("IOMIOPortReadStr: uPort=%RTiop (unused) pvDst=%p pcTransfer=%p:{%#x->%#x} cb=%d rc=VINF_SUCCESS\n", 419 419 uPort, pvDst, pcTransfers, cRequestedTransfers, *pcTransfers, cb)); 420 420 IOM_UNLOCK_SHARED(pVM); … … 641 641 STAM_STATS({ if (pStats) STAM_COUNTER_INC(&pStats->OutRZToR3); }); 642 642 IOM_UNLOCK_SHARED(pVM); 643 return VINF_ SUCCESS;643 return VINF_IOM_R3_IOPORT_WRITE; 644 644 } 645 645 #endif … … 744 744 * Ok, no handler for this port. 745 745 */ 746 *pcTransfers = 0; 746 747 #ifdef VBOX_WITH_STATISTICS 747 748 if (pStats) 748 749 STAM_COUNTER_INC(&pStats->CTX_SUFF_Z(Out)); 749 750 #endif 750 751 Log3(("IOMIOPortWriteStr: uPort=%RTiop pvSrc=%p pcTransfer=%p:{%#x->%#x} cb=%d rc=VINF_SUCCESS\n", 751 Log3(("IOMIOPortWriteStr: uPort=%RTiop (unused) pvSrc=%p pcTransfer=%p:{%#x->%#x} cb=%d rc=VINF_SUCCESS\n", 752 752 uPort, pvSrc, pcTransfers, cRequestedTransfers, *pcTransfers, cb)); 753 753 IOM_UNLOCK_SHARED(pVM);
Note:
See TracChangeset
for help on using the changeset viewer.