VirtualBox

Changeset 26277 in vbox for trunk/src/VBox/VMM/PATM


Ignore:
Timestamp:
Feb 5, 2010 4:44:42 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57336
Message:

VMM: more RC/GC warnings - CSAMDoesPageNeedScanning and CSAMMarkPage now takes RTRCUINTPTR instead of RTRCPTR to ease the pain using them in RC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/VMMAll/CSAMAll.cpp

    r26271 r26277  
    109109 *
    110110 */
    111 VMMDECL(int) CSAMMarkPage(PVM pVM, RTRCPTR pPage, bool fScanned)
     111VMMDECL(int) CSAMMarkPage(PVM pVM, RTRCUINTPTR pPage, bool fScanned)
    112112{
    113113    int pgdir, bit;
     
    115115
    116116#ifdef LOG_ENABLED
    117     if (fScanned && !CSAMIsPageScanned(pVM, pPage))
     117    if (fScanned && !CSAMIsPageScanned(pVM, (RTRCPTR)pPage))
    118118       Log(("CSAMMarkPage %RRv\n", pPage));
    119119#endif
     
    178178 * @param   GCPtr       GC pointer of page
    179179 */
    180 VMMDECL(bool) CSAMDoesPageNeedScanning(PVM pVM, RTRCPTR GCPtr)
     180VMMDECL(bool) CSAMDoesPageNeedScanning(PVM pVM, RTRCUINTPTR GCPtr)
    181181{
    182182    if(!CSAMIsEnabled(pVM))
    183183        return false;
    184184
    185     if(CSAMIsPageScanned(pVM, GCPtr))
     185    if(CSAMIsPageScanned(pVM, (RTRCPTR)GCPtr))
    186186    {
    187187        /* Already checked! */
Note: See TracChangeset for help on using the changeset viewer.

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