Changeset 13832 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Nov 5, 2008 2:01:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r13782 r13832 4842 4842 cbTransfer = cTransAvailable * cb; 4843 4843 4844 #ifdef IN_ GC4844 #ifdef IN_RC 4845 4845 for (uint32_t i = 0; i < cbTransfer; i += cb) 4846 4846 MMGCRamWriteNoTrapHandler((char *)GCDst + i, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart + i, cb); 4847 #else /* !IN_ GC */4847 #else /* !IN_RC */ 4848 4848 rc = PGMPhysSimpleDirtyWriteGCPtr(PDMDevHlpGetVM(pDevIns), GCDst, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart, cbTransfer); 4849 4849 Assert(rc == VINF_SUCCESS); 4850 #endif /* IN_ GC */4850 #endif /* IN_RC */ 4851 4851 4852 4852 if (cbTransfer) … … 4899 4899 cbTransfer = cTransAvailable * cb; 4900 4900 4901 #ifdef IN_ GC4901 #ifdef IN_RC 4902 4902 for (uint32_t i = 0; i < cbTransfer; i += cb) 4903 4903 MMGCRamReadNoTrapHandler(s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart + i, (char *)GCSrc + i, cb); 4904 #else /* !IN_ GC */4904 #else /* !IN_RC */ 4905 4905 rc = PGMPhysSimpleReadGCPtr(PDMDevHlpGetVM(pDevIns), s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart, GCSrc, cbTransfer); 4906 4906 Assert(rc == VINF_SUCCESS); 4907 #endif /* IN_ GC */4907 #endif /* IN_RC */ 4908 4908 4909 4909 if (cbTransfer)
Note:
See TracChangeset
for help on using the changeset viewer.