VirtualBox

Changeset 19403 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 5, 2009 10:23:42 PM (16 years ago)
Author:
vboxsync
Message:

VBox/parma.h,VMM: VMCPU_MAX_CPU_COUNT & VMM_MAX_CPUS => VMM_MAX_CPU_COUNT, added VMM_MIN_CPU_COUNT for schema future replacement dropping a hint about these constants Main.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp

    r19398 r19403  
    524524
    525525    if (    cCpus == 0
    526         ||  cCpus > VMCPU_MAX_CPU_COUNT)
     526        ||  cCpus > VMM_MAX_CPU_COUNT)
    527527        return VERR_INVALID_PARAMETER;
    528528
     
    13591359            VMCPUID const cCpus = pGVM->cCpus;
    13601360            if (    cCpus < 1
    1361                 ||  cCpus > VMM_MAX_CPUS)
     1361                ||  cCpus > VMM_MAX_CPU_COUNT)
    13621362                continue;
    13631363            for (VMCPUID idCpu = 1; idCpu < cCpus; idCpu++)
  • trunk/src/VBox/VMM/VMMR0/PGMR0DynMap.cpp

    r18984 r19403  
    356356     */
    357357    VMCPUID idCpu = pVM->cCPUs;
    358     AssertReturn(idCpu > 0 && idCpu <= VMCPU_MAX_CPU_COUNT, VERR_INTERNAL_ERROR);
     358    AssertReturn(idCpu > 0 && idCpu <= VMM_MAX_CPU_COUNT, VERR_INTERNAL_ERROR);
    359359    while (idCpu-- > 0)
    360360    {
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