VirtualBox

Ignore:
Timestamp:
Nov 29, 2024 2:42:15 PM (7 weeks ago)
Author:
vboxsync
Message:

IPRT,VMM/TM: Support for GIP time on win.arm64. jiraref:VBP-1266

File:
1 edited

Legend:

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

    r106061 r107192  
    139139            uint16_t const  iCpuSet  = (cbLim - 256 * (ARCH_BITS == 64 ? 16 : 8)) & (RTCPUSET_MAX_CPUS - 1);
    140140            uint16_t const  iGipCpu  = pGip->aiCpuFromCpuSetIdx[iCpuSet];
     141# elif TMPL_GET_CPU_METHOD == SUPGIPGETCPU_TPIDRRO_EL0
     142            uint32_t const  iCpuSet  = ASMGetThreadIdRoEL0() & (RTCPUSET_MAX_CPUS - 1);
     143            uint16_t const  iGipCpu  = pGip->aiCpuFromCpuSetIdx[iCpuSet];
    141144# else
    142145#  error "What?"
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