VirtualBox

Changeset 17538 in vbox for trunk/src/VBox/VMM/PGMPhys.cpp


Ignore:
Timestamp:
Mar 8, 2009 5:32:49 AM (16 years ago)
Author:
vboxsync
Message:

REM,PGM: Added two mutualy exclusive flags to REMR3NotifyPhysRamRegister to indicate whether it's MMIO2 or RAM that's being registered. This is for the new code only, the old one sticks to the MM_RAM_FLAGS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r17527 r17538  
    533533     */
    534534#ifdef VBOX_WITH_NEW_PHYS_CODE
    535     REMR3NotifyPhysRamRegister(pVM, GCPhys, cb, 0);
     535    REMR3NotifyPhysRamRegister(pVM, GCPhys, cb, REM_NOTIFY_PHYS_RAM_FLAGS_RAM);
    536536#else
    537537    REMR3NotifyPhysRamRegister(pVM, GCPhys, cb, MM_RAM_FLAGS_DYNAMIC_ALLOC);
     
    12621262        /* link in the ram range */
    12631263        pgmR3PhysLinkRamRange(pVM, &pCur->RamRange, pRamPrev);
    1264         REMR3NotifyPhysRamRegister(pVM, GCPhys, pCur->RamRange.cb, 0);
     1264        REMR3NotifyPhysRamRegister(pVM, GCPhys, pCur->RamRange.cb, REM_NOTIFY_PHYS_RAM_FLAGS_MMIO2);
    12651265    }
    12661266
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