Lines Matching refs:rcx
505 mov DS64_DR0(%eax), %rcx /* Load the full width DRs*/
506 mov %rcx, %dr0
507 mov DS64_DR1(%eax), %rcx
508 mov %rcx, %dr1
509 mov DS64_DR2(%eax), %rcx
510 mov %rcx, %dr2
511 mov DS64_DR3(%eax), %rcx
512 mov %rcx, %dr3
513 mov DS64_DR7(%eax), %rcx
514 mov %rcx, %gs:CPU_DR7
525 mov %gs:CPU_TASK_CR3,%rcx
526 mov %rcx,%gs:CPU_ACTIVE_CR3
528 cmp %rcx, %rax
533 mov %rcx,%cr3 /* switch to user's address space */
623 pop %rcx /* pop and toss cs */
626 pop %rcx /* user return esp */
661 mov R64_RCX(%rsp), %rcx
674 * Here to load rcx/r11/rsp and perform the sysret back to user-space.
675 * rcx user rip
679 mov ISF64_RIP-16(%rsp), %rcx
751 mov %rcx, ISF64_RIP(%rsp) /* rip */
752 mov %gs:CPU_UBER_TMP, %rcx
753 mov %rcx, ISF64_RSP(%rsp) /* user stack */
784 push %rcx /* uesp */
824 movl 4(%rcx, %r10, 4), %r11d
895 mov %gs:CPU_TASK_CR3, %rcx
896 cmp %rax, %rcx /* is the task's cr3 loaded? */
901 mov %gs:CPU_KERNEL_CR3, %rcx
902 cmp %rax, %rcx
904 mov %rcx, %cr3
905 mov %rcx, %gs:CPU_ACTIVE_CR3
966 mov %rcx, R64_RCX(%rsp)
1049 push %rcx /* save %rcx - user stack pointer */
1050 mov 32(%rsp),%rcx /* top of intr stack -> pcb stack */
1051 xchg %rcx,%rsp /* switch to pcb stack */
1053 push (%rcx) /* saved %rcx into rsp slot */
1054 push 8(%rcx) /* rflags */
1055 mov (%rcx),%rcx /* restore %rcx */