VirtualBox

Changeset 55899 in vbox for trunk/src/VBox/VMM/VMMRC


Ignore:
Timestamp:
May 18, 2015 9:47:57 AM (10 years ago)
Author:
vboxsync
Message:

PGM: Added an access origin to memory read & write calls that respects handlers. This will later be passed to the access handler, so that things like the page pool (and potentially others) can query IEM about instruction details when needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/PDMRCDevice.cpp

    r53797 r55899  
    201201             pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbRead));
    202202
    203     int rc = PGMPhysRead(pDevIns->Internal.s.pVMRC, GCPhys, pvBuf, cbRead);
     203    int rc = PGMPhysRead(pDevIns->Internal.s.pVMRC, GCPhys, pvBuf, cbRead, PGMACCESSORIGIN_DEVICE);
    204204    AssertRC(rc); /** @todo track down the users for this bugger. */
    205205
     
    216216             pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbWrite));
    217217
    218     int rc = PGMPhysWrite(pDevIns->Internal.s.pVMRC, GCPhys, pvBuf, cbWrite);
     218    int rc = PGMPhysWrite(pDevIns->Internal.s.pVMRC, GCPhys, pvBuf, cbWrite, PGMACCESSORIGIN_DEVICE);
    219219    AssertRC(rc); /** @todo track down the users for this bugger. */
    220220
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