Lines Matching refs:rax
125 movq %rax, %r14;
140 movq T_INTR_START(thread_t), %rax; \
148 movq %gs:CPU_THREAD, %rax
171 movq %rsi, T_USERACC(%rax)
198 SAVE_REGS(%rax, %r11)
238 movq CPU_IDLE_THREAD(%r15), %rax /* idle thread pointer */
243 movq T_SP(%rax), %rsp /* It is safe to set rsp */
244 movq %rax, CPU_THREAD(%r15)
311 leaq CPU_KPTI_TR_RSP(%r13), %rax
314 movq T_STACK(%r12), %rax
315 addq $REGSIZE+MINFRAME, %rax /* to the bottom of thread stack */
317 movq %rax, TSS_RSP0(%r14)
319 movq T_STACK(%r12), %rax
320 addq $REGSIZE+MINFRAME, %rax /* to the bottom of thread stack */
322 movq %rax, %rsi
329 movq T_LWP(%r12), %rax /* set associated lwp to */
330 movq %rax, CPU_LWP(%r13) /* CPU's lwp ptr */
361 movq T_USERACC(%r12), %rax /* should we disable smap? */
362 cmpq $0, %rax /* skip call when zero */
364 xorq %rax, %rax
365 movq %rax, T_USERACC(%r12)
376 movq %r13, %rax /* save return address */
378 pushq %rax /* push return address for spl0() */
392 movq %gs:CPU_THREAD, %rax
401 SAVE_REGS(%rax, %r11)
412 STTS(%rax)
414 movq %cr0, %rax
415 testq $CR0_TS, %rax
418 orq $CR0_TS, %rax
419 movq %rax, %cr0
428 movq %gs:CPU_IDLE_THREAD, %rax /* idle thread pointer */
429 movq T_SP(%rax), %rsp /* get onto idle thread stack */
440 movq %rax, %gs:CPU_THREAD
466 movq %gs:CPU_THREAD, %rax
475 SAVE_REGS(%rax, %r11)
498 movq T_PC(%r12), %rax /* saved return addr */
500 pushq %rax /* push return address for spl0() */
513 popq %rax /* start() */
517 INDIRECT_CALL_REG(rax)