Changeset 1634 in vbox
- Timestamp:
- Mar 22, 2007 5:17:03 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19762
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r1361 r1634 662 662 IOMDECL(int) IOMIOPortReadString(PVM pVM, RTIOPORT Port, PRTGCPTR pGCPtrDst, PRTGCUINTREG pcTransfers, unsigned cb) 663 663 { 664 #ifdef LOG_ENABLED 665 const RTGCUINTREG cTransfers = *pcTransfers; 666 #endif 664 667 #ifdef VBOX_WITH_STATISTICS 665 668 /* 666 669 * Get the statistics record. 667 670 */ 668 RTGCUINTREG cTransfers = *pcTransfers;669 671 PIOMIOPORTSTATS pStats = CTXALLSUFF(pVM->iom.s.pStatsLastRead); 670 672 if (!pStats || pStats->Core.Key != Port) … … 897 899 IOMDECL(int) IOMIOPortWriteString(PVM pVM, RTIOPORT Port, PRTGCPTR pGCPtrSrc, PRTGCUINTREG pcTransfers, unsigned cb) 898 900 { 901 #ifdef LOG_ENABLED 902 const RTGCUINTREG cTransfers = *pcTransfers; 903 #endif 899 904 #ifdef VBOX_WITH_STATISTICS 900 905 /* 901 906 * Get the statistics record. 902 907 */ 903 const RTGCUINTREG cTransfers = *pcTransfers;904 908 PIOMIOPORTSTATS pStats = CTXALLSUFF(pVM->iom.s.pStatsLastWrite); 905 909 if (!pStats || pStats->Core.Key != Port)
Note:
See TracChangeset
for help on using the changeset viewer.