Changeset 44564 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Feb 6, 2013 1:56:21 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r44528 r44564 118 118 #endif 119 119 120 /* 121 * Check if we should ignore the write. 122 */ 123 if (pRange->fFlags & IOMMMIO_FLAGS_WRITE_ONLY_DWORD) 124 { 125 Assert(cbValue != 4 || (GCPhys & 3)); 126 return VINF_SUCCESS; 127 } 120 128 121 129 /* … … 151 159 case VINF_IOM_R3_MMIO_WRITE: 152 160 /** @todo What if we've split a transfer and already read 153 * something? Since reads can have sideeffects we could be154 * kind of screwed here... */161 * something? Since writes generally have sideeffects we 162 * could be kind of screwed here... */ 155 163 LogFlow(("iomMMIODoComplicatedWrite: GCPhys=%RGp GCPhysStart=%RGp cbValue=%u rc=%Rrc [read]\n", GCPhys, GCPhysStart, cbValue, rc2)); 156 164 return rc2; -
trunk/src/VBox/VMM/VMMR3/IOM.cpp
r44528 r44564 1418 1418 VERR_IOM_INVALID_MMIO_RANGE); 1419 1419 AssertMsgReturn( !(fFlags & ~IOMMMIO_FLAGS_VALID_MASK) 1420 || (fFlags & IOMMMIO_FLAGS_READ_MODE) == IOMMMIO_FLAGS_READ_MODE1421 || (fFlags & IOMMMIO_FLAGS_WRITE_MODE) > IOMMMIO_FLAGS_WRITE_DWORD_QWORD_READ_MISSING,1420 && (fFlags & IOMMMIO_FLAGS_READ_MODE) <= IOMMMIO_FLAGS_READ_DWORD_QWORD 1421 && (fFlags & IOMMMIO_FLAGS_WRITE_MODE) <= IOMMMIO_FLAGS_WRITE_ONLY_DWORD, 1422 1422 ("%#x\n", fFlags), 1423 1423 VERR_INVALID_PARAMETER);
Note:
See TracChangeset
for help on using the changeset viewer.