Changeset 106928 in vbox for trunk/src/VBox/Runtime/r3/darwin/mp-darwin.cpp
- Timestamp:
- Nov 11, 2024 3:18:06 PM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 165854
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/darwin/mp-darwin.cpp
r106061 r106928 144 144 /* xnu-7195.50.7.100.1/osfmk/arm64/start.s and machine_routines.c sets TPIDRRO_EL0 145 145 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(). */ 146 149 uint64_t u64Ret; 147 150 __asm__ __volatile__("mrs %0,TPIDRRO_EL0\n\t" : "=r" (u64Ret));
Note:
See TracChangeset
for help on using the changeset viewer.