Changeset 31591 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Aug 11, 2010 11:32:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r31458 r31591 1041 1041 #ifndef IN_RING3 1042 1042 if (rc == VERR_SEM_BUSY) 1043 return (uErrorCode & X86_TRAP_PF_RW) ? VINF_IOM_HC_MMIO_WRITE : VINF_IOM_HC_MMIO_READ;1043 return VINF_IOM_HC_MMIO_READ_WRITE; 1044 1044 #endif 1045 1045 AssertRC(rc); … … 1072 1072 STAM_COUNTER_INC(&pVM->iom.s.StatRZMMIOFailures); 1073 1073 iomUnlock(pVM); 1074 return (uErrorCode & X86_TRAP_PF_RW) ? VINF_IOM_HC_MMIO_WRITE : VINF_IOM_HC_MMIO_READ;1074 return VINF_IOM_HC_MMIO_READ_WRITE; 1075 1075 # endif 1076 1076 } … … 1205 1205 default: 1206 1206 STAM_COUNTER_INC(&pVM->iom.s.StatRZInstOther); 1207 rc = (uErrorCode & X86_TRAP_PF_RW) ? VINF_IOM_HC_MMIO_WRITE : VINF_IOM_HC_MMIO_READ;1207 rc = VINF_IOM_HC_MMIO_READ_WRITE; 1208 1208 break; 1209 1209 } … … 1275 1275 #ifndef IN_RING3 1276 1276 if (rc2 == VERR_SEM_BUSY) 1277 return (uErrorCode & X86_TRAP_PF_RW) ? VINF_IOM_HC_MMIO_WRITE : VINF_IOM_HC_MMIO_READ;1277 return VINF_IOM_HC_MMIO_READ_WRITE; 1278 1278 #endif 1279 1279 VBOXSTRICTRC rcStrict = iomMMIOHandler(pVM, uErrorCode, pCtxCore, GCPhysFault, iomMMIOGetRange(&pVM->iom.s, GCPhysFault));
Note:
See TracChangeset
for help on using the changeset viewer.