VirtualBox

Changeset 13832 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Nov 5, 2008 2:01:12 AM (16 years ago)
Author:
vboxsync
Message:

IN_GC -> IN_RC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r13782 r13832  
    48424842        cbTransfer = cTransAvailable * cb;
    48434843
    4844 #ifdef IN_GC
     4844#ifdef IN_RC
    48454845        for (uint32_t i = 0; i < cbTransfer; i += cb)
    48464846            MMGCRamWriteNoTrapHandler((char *)GCDst + i, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart + i, cb);
    4847 #else /* !IN_GC */
     4847#else /* !IN_RC */
    48484848        rc = PGMPhysSimpleDirtyWriteGCPtr(PDMDevHlpGetVM(pDevIns), GCDst, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart, cbTransfer);
    48494849        Assert(rc == VINF_SUCCESS);
    4850 #endif /* IN_GC */
     4850#endif /* IN_RC */
    48514851
    48524852        if (cbTransfer)
     
    48994899        cbTransfer = cTransAvailable * cb;
    49004900
    4901 #ifdef IN_GC
     4901#ifdef IN_RC
    49024902        for (uint32_t i = 0; i < cbTransfer; i += cb)
    49034903            MMGCRamReadNoTrapHandler(s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart + i, (char *)GCSrc + i, cb);
    4904 #else /* !IN_GC */
     4904#else /* !IN_RC */
    49054905        rc = PGMPhysSimpleReadGCPtr(PDMDevHlpGetVM(pDevIns), s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart, GCSrc, cbTransfer);
    49064906        Assert(rc == VINF_SUCCESS);
    4907 #endif /* IN_GC */
     4907#endif /* IN_RC */
    49084908
    49094909        if (cbTransfer)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette