Changeset 61371 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 1, 2016 12:58:24 PM (9 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r60874 r61371 754 754 STAM_COUNTER_INC(&pVM->iom.s.StatR3MMIOHandler); 755 755 756 AssertMsg(cbBuf >= 1 && cbBuf <= 16, ("%zu\n", cbBuf));756 NOREF(pvPhys); NOREF(enmOrigin); 757 757 AssertPtr(pRange); 758 NOREF(pvPhys); NOREF(enmOrigin); 758 AssertMsg(cbBuf >= 1, ("%zu\n", cbBuf)); 759 760 761 #ifndef IN_RING3 762 /* 763 * If someone is doing FXSAVE, FXRSTOR, XSAVE, XRSTOR or other stuff dealing with 764 * large amounts of data, just go to ring-3 where we don't need to deal with partial 765 * successes. No chance any of these will be problematic read-modify-write stuff. 766 */ 767 if (cbBuf > sizeof(pVCpu->iom.s.PendingMmioWrite.abValue)) 768 return enmAccessType == PGMACCESSTYPE_WRITE ? VINF_IOM_R3_MMIO_WRITE : VINF_IOM_R3_MMIO_READ; 769 #endif 759 770 760 771 /* -
trunk/src/VBox/VMM/include/IOMInternal.h
r60874 r61371 418 418 RTGCPHYS GCPhys; 419 419 /** The value to write. */ 420 uint8_t abValue[ 24];420 uint8_t abValue[128]; 421 421 /** The number of bytes to write (0 if nothing pending). */ 422 422 uint32_t cbValue;
Note:
See TracChangeset
for help on using the changeset viewer.