Searched refs:thread_kernel_state (Results 1 – 5 of 5) sorted by relevance
| /xnu-11215/osfmk/kern/ |
| H A D | thread_kernel_state.h | 33 struct thread_kernel_state { struct 38 typedef struct thread_kernel_state * thread_kernel_state_t; argument 41 ((thread)->kernel_stack + kernel_stack_size - sizeof(struct thread_kernel_state)))
|
| /xnu-11215/osfmk/i386/ |
| H A D | genassym.c | 153 DECLARE("IKS_SIZE", sizeof(struct thread_kernel_state)); in main() 158 DECLARE("KSS_RBX", offsetof(struct thread_kernel_state, machine.k_rbx)); in main() 159 DECLARE("KSS_RSP", offsetof(struct thread_kernel_state, machine.k_rsp)); in main() 160 DECLARE("KSS_RBP", offsetof(struct thread_kernel_state, machine.k_rbp)); in main() 161 DECLARE("KSS_R12", offsetof(struct thread_kernel_state, machine.k_r12)); in main() 162 DECLARE("KSS_R13", offsetof(struct thread_kernel_state, machine.k_r13)); in main() 163 DECLARE("KSS_R14", offsetof(struct thread_kernel_state, machine.k_r14)); in main() 164 DECLARE("KSS_R15", offsetof(struct thread_kernel_state, machine.k_r15)); in main() 165 DECLARE("KSS_RIP", offsetof(struct thread_kernel_state, machine.k_rip)); in main()
|
| H A D | thread.h | 189 (&(((struct thread_kernel_state *)((stack) + kernel_stack_size)) - 1)->machine) 213 + sizeof(struct thread_kernel_state) in current_kernel_stack_depth()
|
| H A D | trap.c | 471 + sizeof(struct thread_kernel_state) in interrupt()
|
| /xnu-11215/osfmk/arm64/ |
| H A D | pcb.c | 735 void *kstackptr = (void *)(stack + kernel_stack_size - sizeof(struct thread_kernel_state)); in machine_stack_attach() 797 void *kstackptr = (void *)(stack + kernel_stack_size - sizeof(struct thread_kernel_state)); in machine_stack_handoff()
|