VirtualBox

Changeset 54415 in vbox for trunk/src/VBox/Runtime/r0drv/nt


Ignore:
Timestamp:
Feb 24, 2015 3:26:17 AM (10 years ago)
Author:
vboxsync
Message:

IPRT/r0drv/mp: Added RTMpCurSetIndex and RTMpCurSetIndexAndId.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/mp-r0drv-nt.cpp

    r54414 r54415  
    9292    /* WDK upgrade warning: PCR->Number changed from BYTE to WORD. */
    9393    return KeGetCurrentProcessorNumber();
     94}
     95
     96
     97RTDECL(int) RTMpCurSetIndex(void)
     98{
     99    /* WDK upgrade warning: PCR->Number changed from BYTE to WORD. */
     100    return KeGetCurrentProcessorNumber();
     101}
     102
     103
     104RTDECL(int) RTMpCurSetIndexAndId(PRTCPUID pidCpu)
     105{
     106    return *pidCpu = KeGetCurrentProcessorNumber();
    94107}
    95108
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette