VirtualBox

Ignore:
Timestamp:
Feb 24, 2015 6:23:18 PM (10 years ago)
Author:
vboxsync
Message:

IPRT,VMM,SUPDrv: Use the new RTMpCurSetIndex* APIs - require driver reload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/time/timesupref.h

    r54279 r54467  
    7878#if TMPL_MODE == TMPL_MODE_ASYNC || TMPL_MODE == TMPL_MODE_SYNC_INVAR_WITH_DELTA
    7979# if   defined(IN_RING0)
    80             uint32_t const  iCpuSet  = RTMpCpuIdToSetIndex(RTMpCpuId());
     80            uint32_t const  iCpuSet  = RTMpCurSetIndex();
    8181            uint16_t const  iGipCpu  = iCpuSet < RT_ELEMENTS(pGip->aiCpuFromCpuSetIdx)
    8282                                     ? pGip->aiCpuFromCpuSetIdx[iCpuSet] : UINT16_MAX;
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