Changeset 16958 in vbox for trunk/src/VBox/Runtime/r0drv/darwin
- Timestamp:
- Feb 19, 2009 5:46:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/darwin/mp-r0drv-darwin.cpp
r16354 r16958 53 53 { 54 54 int32_t cCpus = -1; 55 #ifdef RT_ARCH_AMD6456 55 size_t oldLen = sizeof(cCpus); 57 56 int rc = sysctlbyname("hw.ncpu", &cCpus, &oldLen, NULL, NULL); … … 61 60 cCpus = MY_DARWIN_MAX_CPUS; 62 61 } 63 #else64 cCpus = ml_get_max_cpus();65 #endif66 62 67 63 ASMAtomicWriteS32(&g_cMaxCpus, cCpus);
Note:
See TracChangeset
for help on using the changeset viewer.