Lines Matching refs:eax
156 .macro SAVE_ALL pt_regs_ax=%eax
184 popl %eax
208 pushl %eax
211 popl %eax
216 movl %esp, %eax
222 pushl %eax
225 popl %eax
228 movl PT_EBP(%esp), %eax
237 movl %esp, %eax
256 movl PT_EFLAGS(%esp), %eax # mix EFLAGS and CS
258 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
263 movl PT_CS(%esp), %eax
264 andl $SEGMENT_RPL_MASK, %eax
266 cmpl $USER_RPL, %eax
272 movl %esp, %eax
300 pushl %eax /* pt_regs->orig_ax */
309 movl %esp, %eax
326 popl %eax /* pt_regs->ax */
345 pushl %eax /* pt_regs->orig_ax */
354 movl %esp, %eax
362 movl PT_EFLAGS(%esp), %eax # mix EFLAGS, SS and CS
370 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax
371 cmpl $((SEGMENT_LDT << 8) | USER_RPL), %eax
414 mov PT_OLDESP(%esp), %eax /* load userspace esp */
416 sub %eax, %edx /* offset (low word is 0) */
421 pushl %eax /* new kernel esp */
445 shl $16, %eax
446 addl %esp, %eax /* the adjusted stack pointer */
448 pushl %eax
454 movl %ss, %eax
458 movl $__KERNEL_DS, %eax
459 movl %eax, %ds
460 movl %eax, %es
492 movl %esp, %eax
503 movl %esp, %eax; \
658 movl PT_EIP(%esp), %eax
659 cmpl $xen_iret_start_crit, %eax
661 cmpl $xen_iret_end_crit, %eax
667 1: mov %esp, %eax
688 pushl %eax
689 movl $1, %eax
696 testl %eax, %eax
697 popl %eax
706 6: xorl %eax, %eax
707 movl %eax, 4(%esp)
709 7: xorl %eax, %eax
710 movl %eax, 8(%esp)
712 8: xorl %eax, %eax
713 movl %eax, 12(%esp)
715 9: xorl %eax, %eax
716 movl %eax, 16(%esp)
745 pushl %eax
749 movl 4*4(%esp), %eax
752 subl $MCOUNT_INSN_SIZE, %eax
761 popl %eax
791 pushl %eax
799 movl 13*4(%esp), %eax /* Get the saved flags */
800 movl %eax, 14*4(%esp) /* Move saved flags into regs->flags location */
804 movl 12*4(%esp), %eax /* Load ip (1st parameter) */
805 subl $MCOUNT_INSN_SIZE, %eax /* Adjust ip */
814 movl 14*4(%esp), %eax /* Move flags back into cs */
815 movl %eax, 13*4(%esp) /* Needed to keep addl from modifying flags */
816 movl 12*4(%esp), %eax /* Get return ip from regs->ip */
817 movl %eax, 14*4(%esp) /* Put return ip back for ret */
825 popl %eax
857 pushl %eax
860 movl 0xc(%esp), %eax
862 subl $MCOUNT_INSN_SIZE, %eax
868 popl %eax
876 pushl %eax
879 movl 0xc(%esp), %eax
882 subl $MCOUNT_INSN_SIZE, %eax
886 popl %eax
892 pushl %eax
894 movl %ebp, %eax
896 movl %eax, %ecx
898 popl %eax
919 pushl %eax
940 movl %esp, %eax # pt_regs pointer
978 movl %esp, %eax # pt_regs pointer
994 pushl %eax
995 movl %ss, %eax
997 popl %eax
1002 pushl %eax
1003 movl %esp, %eax
1008 andl $(THREAD_SIZE-1), %eax
1009 cmpl $(THREAD_SIZE-20), %eax
1010 popl %eax
1015 pushl %eax
1018 movl %esp, %eax # pt_regs pointer
1048 pushl %eax
1050 FIXUP_ESPFIX_STACK # %eax == %esp
1065 movl %esp, %eax # pt_regs pointer