Lines Matching refs:rax
527 mov %cr3, %rax
528 cmp %rcx, %rax
536 mov %gs:CPU_DR7, %rax /* Is there a debug control register?*/
537 cmp $0, %rax
539 mov %rax, %dr7 /* Set DR7 */
546 mov $(KERNEL_UBER_BASE_HI32), %rax
548 shrd $32, %rax, %rsp /* relocate into uber-space */
563 mov $(KERNEL_UBER_BASE_HI32), %rax
565 shrd $32, %rax, %rsp /* relocate into uber-space */
662 mov R64_RAX(%rsp), %rax
698 * These are entered via a syscall interrupt. The system call number in %rax
706 push %rax /* save system call number */
715 push %rax /* save system call number */
724 push %rax /* save system call number */
733 push %rax /* save system call number */
754 mov %rax, ISF64_ERR(%rsp) /* err/rax - syscall code */
796 push %rax /* err/eax - syscall code */
859 mov %cr2, %rax
894 mov %cr3, %rax
896 cmp %rax, %rcx /* is the task's cr3 loaded? */
902 cmp %rax, %rcx
965 mov %rax, R64_RAX(%rsp)
976 mov %cr2, %rax
977 mov %rax, R64_CR2(%rsp)
1151 mov %rax, 16(%rsp) /* save rax (we don`t need saved rip) */
1152 mov 0(%rsp), %rax /* get trap number */
1153 mov %rax, 48(%rsp) /* put in user trap number */
1154 mov 8(%rsp), %rax /* get error code */
1155 mov %rax, 56(%rsp) /* put in user errcode */
1156 mov 16(%rsp), %rax /* restore rax */
1163 mov %rax, 16(%rsp) /* save rax (we don`t need saved rip) */
1164 mov 0(%rsp), %rax /* get trap number */
1165 mov %rax, 48(%rsp) /* put in user trap number */
1166 mov 8(%rsp), %rax /* get error code */
1167 mov %rax, 56(%rsp) /* put in user errcode */
1168 mov 16(%rsp), %rax /* restore rax */
1179 mov 0(%rsp), %rax /* get trap number/function */
1182 mov %rax,ISC32_TRAPNO(%rsp)