VirtualBox

Changeset 9429 in vbox for trunk/src/VBox/Runtime/r3/os2


Ignore:
Timestamp:
Jun 5, 2008 3:22:37 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
31680
Message:

RTMpDoesCpuExist -> RTMpIsCpuPossible. Changed the RTMpGetCount and RTMpGetSet specification to include all possible cpus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/os2/mp-os2.cpp

    r8245 r9429  
    6262
    6363
    64 RTDECL(bool) RTMpIsCpuOnline(RTCPUID idCpu)
    65 {
    66     RTCPUSET Set;
    67     return RTCpuSetIsMember(RTMpGetOnlineSet(&Set), idCpu);
    68 }
    69 
    70 
    71 RTDECL(bool) RTMpDoesCpuExist(RTCPUID idCpu)
     64RTDECL(bool) RTMpIsCpuPossible(RTCPUID idCpu)
    7265{
    7366    RTCPUSET Set;
     
    9689
    9790
     91RTDECL(bool) RTMpIsCpuOnline(RTCPUID idCpu)
     92{
     93    RTCPUSET Set;
     94    return RTCpuSetIsMember(RTMpGetOnlineSet(&Set), idCpu);
     95}
     96
     97
    9898RTDECL(PRTCPUSET) RTMpGetOnlineSet(PRTCPUSET pSet)
    9999{
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