Searched refs:curthr (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/osfmk/arm/
H A Dpcb.c113 thread_t curthr = current_thread(); local
114 assert(curthr);
115 curthr->machine.cthread_self = cthr;
116 arm_set_threadpid_user_readonly((uint32_t *) curthr->machine.cthread_self);
121 thread_t curthr = current_thread(); local
122 assert(curthr);
123 return curthr->machine.cthread_self;
/darwin-on-arm/xnu/osfmk/arm64/
H A Dthread_initialize.c95 thread_t curthr = current_thread(); local
96 assert(curthr);
97 curthr->machine.cthread_self = cthr;
98 arm_set_threadpid_user_readonly((uint64_t*)curthr->machine.cthread_self);
104 thread_t curthr = current_thread(); local
105 assert(curthr);
106 return curthr->machine.cthread_self;

Completed in 30 milliseconds