Lines Matching refs:eax

75 	movl	%cr3, %eax
76 testl $PTI_SWITCH_MASK, %eax
182 pushl %eax
184 movl 5*4(%esp), %eax # (modified) regs->sp
187 movl %ecx, %ss:-1*4(%eax)
191 movl %ecx, %ss:-2*4(%eax)
194 movl %ecx, %ss:-3*4(%eax)
196 movl 1*4(%esp), %ecx # eax
197 movl %ecx, %ss:-4*4(%eax)
200 lea -4*4(%eax), %esp
201 popl %eax
205 .macro SAVE_ALL pt_regs_ax=%eax switch_stacks=0 skip_gs=0 unwind_espfix=0
212 pushl %eax
213 movl $(__KERNEL_PERCPU), %eax
214 movl %eax, %fs
218 popl %eax
263 popl %eax
312 movl PT_EFLAGS(%esp), %eax # mix EFLAGS, SS and CS
320 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax
321 cmpl $((SEGMENT_LDT << 8) | USER_RPL), %eax
336 mov PT_OLDESP(%esp), %eax /* load userspace esp */
338 sub %eax, %edx /* offset (low word is 0) */
343 pushl %eax /* new kernel esp */
370 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
486 testl $PTI_SWITCH_MASK, %eax
610 SWITCH_TO_USER_CR3 scratch_reg=%eax
644 movl %esp, %eax
693 movl %esp, TASK_threadsp(%eax)
797 pushl %eax
799 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
800 popl %eax
812 pushl %eax /* pt_regs->orig_ax */
838 movl %esp, %eax
840 testl %eax, %eax
853 movl PER_CPU_VAR(cpu_tss_rw + TSS_sp0), %eax
854 subl $(2*4), %eax
859 movl %edi, (%eax)
860 movl %esi, 4(%eax)
874 movl %eax, %esp
877 SWITCH_TO_USER_CR3 scratch_reg=%eax
887 popl %eax
937 pushl %eax /* pt_regs->orig_ax */
941 movl %esp, %eax
951 SWITCH_TO_USER_CR3 scratch_reg=%eax
976 pushl %eax
977 SWITCH_TO_USER_CR3 scratch_reg=%eax
978 popl %eax
1010 shl $16, %eax
1013 addl %esp, %eax /* the adjusted stack pointer */
1015 pushl %eax
1023 movl %ss, %eax
1044 movl %esp, %eax # pt_regs pointer
1049 movl PT_EFLAGS(%esp), %eax # mix EFLAGS and CS
1051 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
1056 movl PT_CS(%esp), %eax
1057 andl $SEGMENT_RPL_MASK, %eax
1059 cmpl $USER_RPL, %eax # returning to v8086 or userspace ?
1068 movl %esp, %eax
1127 pushl %eax
1128 movl %ss, %eax
1130 popl %eax
1134 pushl %eax # pt_regs->orig_ax
1138 movl %esp, %eax # pt_regs pointer
1143 subl %eax, %ecx /* ecx = (end of entry_stack) - esp */
1185 pushl %eax # orig_ax
1194 movl %esp, %eax # pt_regs pointer