Lines Matching refs:eax
180 xorl %eax, %eax
191 movl %eax, %esi /* %dr6 -> %esi */
198 xorl %eax, %eax
199 movl %eax, %db6
286 TRACE_PTR(%r12, %rax, %eax, %rdx, $TT_TRAP)
402 cmpl $DTRACE_INVOP_PUSHL_EBP, %eax
404 cmpl $DTRACE_INVOP_LEAVE, %eax
406 cmpl $DTRACE_INVOP_NOP, %eax
408 cmpl $DTRACE_INVOP_RET, %eax
520 pushl %eax /* push %eax -- may be return value */
527 cmpl $DTRACE_INVOP_PUSHL_EBP, %eax
529 cmpl $DTRACE_INVOP_POPL_EBP, %eax
531 cmpl $DTRACE_INVOP_LEAVE, %eax
533 cmpl $DTRACE_INVOP_NOP, %eax
543 pushl %eax /* push temp */
544 movl 8(%esp), %eax /* load calling EIP */
545 incl %eax /* increment over LOCK prefix */
546 movl %eax, 4(%esp) /* store calling EIP */
547 movl 12(%esp), %eax /* load calling CS */
548 movl %eax, 8(%esp) /* store calling CS */
549 movl 16(%esp), %eax /* load calling EFLAGS */
550 movl %eax, 12(%esp) /* store calling EFLAGS */
552 popl %eax /* pop off temp */
561 pushl %eax /* push temp */
563 movl 12(%esp), %eax /* load calling EFLAGS */
564 movl %eax, 16(%esp) /* store calling EFLAGS */
565 movl 8(%esp), %eax /* load calling CS */
566 movl %eax, 12(%esp) /* store calling CS */
567 movl 4(%esp), %eax /* load calling EIP */
568 incl %eax /* increment over LOCK prefix */
569 movl %eax, 8(%esp) /* store calling EIP */
570 popl %eax /* pop off temp */
581 pushl %eax /* push temp */
585 movl 16(%esp), %eax /* load calling EFLAGS */
586 movl %eax, (%ebx) /* store calling EFLAGS */
587 movl 12(%esp), %eax /* load calling CS */
588 movl %eax, -4(%ebx) /* store calling CS */
589 movl 8(%esp), %eax /* load calling EIP */
590 incl %eax /* increment over LOCK prefix */
591 movl %eax, -8(%ebx) /* store calling EIP */
594 popl %eax /* pop off temp */
645 movl $FPU_EN, %eax
652 testl %eax, PCB_FPU_FLAGS(%rbx)
660 movl FPU_CTX_FPU_XSAVE_MASK(%rbx), %eax /* for xrstor */
720 movl $FPU_EN, %eax
727 testl %eax, PCB_FPU_FLAGS(%rbx)
735 movl FPU_CTX_FPU_XSAVE_MASK(%rbx), %eax /* for xrstor */
771 pushl %eax
778 movl $KGS_SEL, %eax
780 LOADCPU(%eax)
783 movl CPU_THREAD(%eax), %ebx /* %ebx = curthread */
784 movl $FPU_EN, %eax
791 testl %eax, PCB_FPU_FLAGS(%ebx)
799 movl FPU_CTX_FPU_XSAVE_MASK(%ebx), %eax /* for xrstor */
817 popl %eax
825 popl %eax
906 movl %gs:CPU_IDT, %eax
908 cmpl DTR_BASE(%esp), %eax
911 movl %eax, DTR_BASE(%esp)
927 movl %gs:CPU_TSS, %eax /* get the TSS */
928 movl TSS_SS(%eax), %ebx /* save the fault SS */
929 movl TSS_ESP(%eax), %edx /* save the fault ESP */
930 testw $CPL_MASK, TSS_CS(%eax) /* user mode ? */
932 movw TSS_SS0(%eax), %ss /* get on the kernel stack */
933 movl TSS_ESP0(%eax), %esp
942 movl TSS_EFL(%eax), %ecx
946 movw TSS_LDT(%eax), %cx /* restore the LDT */
952 movw TSS_DS(%eax), %ds
953 movw TSS_ES(%eax), %es
954 movw TSS_FS(%eax), %fs
955 movw TSS_GS(%eax), %gs
960 movl $KDS_SEL, TSS_DS(%eax)
961 movl $KDS_SEL, TSS_ES(%eax)
962 movl $KDS_SEL, TSS_SS(%eax)
963 movl $KFS_SEL, TSS_FS(%eax)
964 movl $KGS_SEL, TSS_GS(%eax)
984 movl TSS_EBP(%eax), %ebp
985 movl TSS_ECX(%eax), %ecx
986 movl TSS_ESI(%eax), %esi
987 movl TSS_EDI(%eax), %edi
997 pushl TSS_EFL(%eax) / fault EFL
998 pushl TSS_CS(%eax) / fault CS
999 pushl TSS_EIP(%eax) / fault EIP
1002 movl TSS_EBX(%eax), %ebx / restore EBX
1003 movl TSS_EDX(%eax), %edx / restore EDX
1004 movl TSS_EAX(%eax), %eax / restore EAX
1092 pushl %eax
1093 movl %cr2, %eax
1094 andl $MMU_STD_PAGEMASK, %eax
1096 cmpl %eax, %cs:idt0_default_r+2 /* fixme */
1100 popl %eax
1109 movl 4(%esp), %eax /* error code */
1110 andl $PF_ERR_USER, %eax
1116 popl %eax
1218 cmpl $T_LASTFAST, %eax
1220 orl %eax, %eax /* (zero extend top 32-bits) */
1249 cmpl $T_LASTFAST, %eax
1251 jmp *%cs:fasttable(, %eax, CLONGSIZE)