Changeset 7419 in vbox for trunk/src/VBox/Runtime/r0drv
- Timestamp:
- Mar 10, 2008 4:05:51 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28853
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/mp-r0drv-solaris.c
r7331 r7419 44 44 45 45 46 RTDECL(int) RTMpCpuIdToSetIndex(RTCPUID idCpu) 47 { 48 return idCpu < NCPU ? idCpu : -1; 49 } 50 51 52 RTDECL(RTCPUID) RTMpCpuIdFromSetIndex(int iCpu) 53 { 54 return (unsigned)iCpu < NCPU ? iCpu : NIL_RTCPUID; 55 } 56 57 58 RTDECL(RTCPUID) RTMpGetMaxCpuId(void) 59 { 60 return NCPU - 1; 61 } 62 63 46 64 RTDECL(bool) RTMpIsCpuOnline(RTCPUID idCpu) 47 65 { … … 56 74 cpu_t *pCpu = idCpu < NCPU ? cpu_get(idCpu) : NULL; 57 75 return pCpu != NULL; 58 }59 60 61 RTDECL(int) RTMpCpuIdToSetIndex(RTCPUID idCpu)62 {63 return idCpu < NCPU ? idCpu : -1;64 }65 66 67 RTDECL(RTCPUID) RTMpCpuIdFromSetIndex(int iCpu)68 {69 return (unsigned)iCpu < NCPU ? iCpu : NIL_RTCPUID;70 76 } 71 77
Note:
See TracChangeset
for help on using the changeset viewer.