Changeset 812 in vbox
- Timestamp:
- Feb 9, 2007 2:28:51 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18488
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r811 r812 624 624 /* Double check the own bit; guest drivers might be buggy and lock prefixes in the recompiler are ignored by other threads. */ 625 625 #ifdef DEBUG 626 if (tmd->tmd1.own == 0 &&(ownbyte & 0x80))626 if (tmd->tmd1.own == 1 && !(ownbyte & 0x80)) 627 627 Log(("pcnetTmdLoad: own bit flipped while reading!!\n")); 628 628 #endif 629 if ( ownbyte & 0x80)630 tmd->tmd1.own = 1;629 if (!(ownbyte & 0x80)) 630 tmd->tmd1.own = 0; 631 631 } 632 632 … … 709 709 /* Double check the own bit; guest drivers might be buggy and lock prefixes in the recompiler are ignored by other threads. */ 710 710 #ifdef DEBUG 711 if (rmd->rmd1.own == 0 &&(ownbyte & 0x80))712 Log(("pcnet RmdLoad: own bit flipped while reading!!\n"));713 #endif 714 if ( ownbyte & 0x80)715 rmd->rmd1.own = 1;711 if (rmd->rmd1.own == 1 && !(ownbyte & 0x80)) 712 Log(("pcnetTmdLoad: own bit flipped while reading!!\n")); 713 #endif 714 if (!(ownbyte & 0x80)) 715 rmd->rmd1.own = 0; 716 716 } 717 717
Note:
See TracChangeset
for help on using the changeset viewer.