Changeset 7348 in vbox for trunk/src/VBox/Runtime/generic/RTMpGetMaxCpuId-generic.cpp
- Timestamp:
- Mar 7, 2008 10:37:10 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28767
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/RTMpGetMaxCpuId-generic.cpp
r7337 r7348 1 1 /* $Id$ */ 2 2 /** @file 3 * innotek Portable Runtime - Multiprocessor, Generic RTMp CpuId.3 * innotek Portable Runtime - Multiprocessor, Generic RTMpGetMaxCpuId. 4 4 */ 5 5 … … 30 30 *******************************************************************************/ 31 31 #include <iprt/mp.h> 32 #include <iprt/asm.h>33 32 34 33 35 RTDECL(RTCPUID) RTMp CpuId(void)34 RTDECL(RTCPUID) RTMpGetMaxCpuId(void) 36 35 { 37 #if defined(RT_ARCH_X86) || defined(RT_ARCH_AMD64) 38 return ASMGetApicId(); 39 #else 40 # error "Not ported to this architecture." 41 return NIL_RTAPICID; 42 #endif 36 return RTMpCpuId(); 43 37 } 44 38
Note:
See TracChangeset
for help on using the changeset viewer.