VirtualBox

Ignore:
Timestamp:
Nov 11, 2024 3:18:06 PM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165854
Message:

IPRT/mp-darwin.cpp: some musings regarding RTMpCpuId

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/darwin/mp-darwin.cpp

    r106061 r106928  
    144144    /* xnu-7195.50.7.100.1/osfmk/arm64/start.s and machine_routines.c sets TPIDRRO_EL0
    145145       to the cpu_data_t::cpu_id value. */
     146/** @todo r=bird: set_thread_register() in cswitch.s OTOH, applies MACHDEP_CPUNUM_MASK to
     147 * the value before taking it as the CPU number.  In libsyscall/os/tsd.h it is masked by
     148 * the same value in _os_cpu_number(). */
    146149    uint64_t u64Ret;
    147150    __asm__ __volatile__("mrs %0,TPIDRRO_EL0\n\t" : "=r" (u64Ret));
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