VirtualBox

Changeset 25227 in vbox for trunk/src


Ignore:
Timestamp:
Dec 8, 2009 11:03:06 AM (15 years ago)
Author:
vboxsync
Message:

PGMMap.cpp: -Wshadow.

File:
1 edited

Legend:

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

    r22890 r25227  
    653653    pVM->pgm.s.cbMappingFixed    = cb;
    654654
    655     for (VMCPUID i = 0; i < pVM->cCpus; i++)
    656     {
    657         PVMCPU pVCpu = &pVM->aCpus[i];
    658         pVCpu->pgm.s.fSyncFlags &= ~PGM_SYNC_MONITOR_CR3;
    659         VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3);
     655    for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++)
     656    {
     657        pVM->aCpus[idCpu].pgm.s.fSyncFlags &= ~PGM_SYNC_MONITOR_CR3;
     658        VMCPU_FF_SET(&pVM->aCpus[idCpu], VMCPU_FF_PGM_SYNC_CR3);
    660659    }
    661660    return VINF_SUCCESS;
     
    689688    pVM->pgm.s.GCPtrMappingFixed = MM_HYPER_AREA_ADDRESS;
    690689    pVM->pgm.s.cbMappingFixed    = cb;
    691     for (VMCPUID i = 0; i < pVM->cCpus; i++)
    692     {
    693         PVMCPU pVCpu = &pVM->aCpus[i];
    694         pVCpu->pgm.s.fSyncFlags &= ~PGM_SYNC_MONITOR_CR3;
    695         VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3);
     690    for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++)
     691    {
     692        pVM->aCpus[idCpu].pgm.s.fSyncFlags &= ~PGM_SYNC_MONITOR_CR3;
     693        VMCPU_FF_SET(&pVM->aCpus[idCpu], VMCPU_FF_PGM_SYNC_CR3);
    696694    }
    697695    return VINF_SUCCESS;
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