VirtualBox

Ignore:
Timestamp:
Mar 7, 2008 10:37:10 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28767
Message:

Generic implementations of the new RTMp functions.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/RTMpGetMaxCpuId-generic.cpp

    r7337 r7348  
    11/* $Id$ */
    22/** @file
    3  * innotek Portable Runtime - Multiprocessor, Generic RTMpCpuId.
     3 * innotek Portable Runtime - Multiprocessor, Generic RTMpGetMaxCpuId.
    44 */
    55
     
    3030*******************************************************************************/
    3131#include <iprt/mp.h>
    32 #include <iprt/asm.h>
    3332
    3433
    35 RTDECL(RTCPUID) RTMpCpuId(void)
     34RTDECL(RTCPUID) RTMpGetMaxCpuId(void)
    3635{
    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();
    4337}
    4438
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