Changeset 20567 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Jun 14, 2009 8:31:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r20374 r20567 5400 5400 } 5401 5401 5402 #ifndef IN_RING0 5402 #ifndef IN_RING0 /** @todo do this in ring-0 as well. */ 5403 5403 /** 5404 5404 * Port I/O Handler for primary port range IN string operations. … … 5435 5435 cbTransfer = cTransAvailable * cb; 5436 5436 5437 #ifdef IN_RC5438 for (uint32_t i = 0; i < cbTransfer; i += cb)5439 MMGCRamWriteNoTrapHandler((char *)GCDst + i, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart + i, cb);5440 #else /* !IN_RC */5441 5437 rc = PGMPhysSimpleDirtyWriteGCPtr(PDMDevHlpGetVMCPU(pDevIns), GCDst, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart, cbTransfer); 5442 5438 Assert(rc == VINF_SUCCESS); 5443 #endif /* IN_RC */5444 5439 5445 5440 if (cbTransfer) … … 5492 5487 cbTransfer = cTransAvailable * cb; 5493 5488 5494 #ifdef IN_RC5495 for (uint32_t i = 0; i < cbTransfer; i += cb)5496 MMGCRamReadNoTrapHandler(s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart + i, (char *)GCSrc + i, cb);5497 #else /* !IN_RC */5498 5489 rc = PGMPhysSimpleReadGCPtr(PDMDevHlpGetVMCPU(pDevIns), s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart, GCSrc, cbTransfer); 5499 5490 Assert(rc == VINF_SUCCESS); 5500 #endif /* IN_RC */5501 5491 5502 5492 if (cbTransfer)
Note:
See TracChangeset
for help on using the changeset viewer.