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
315 movl PT_EFLAGS(%esp), %eax # mix EFLAGS, SS and CS
323 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax
324 cmpl $((SEGMENT_LDT << 8) | USER_RPL), %eax
339 mov PT_OLDESP(%esp), %eax /* load userspace esp */
341 sub %eax, %edx /* offset (low word is 0) */
346 pushl %eax /* new kernel esp */
373 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
489 testl $PTI_SWITCH_MASK, %eax
613 SWITCH_TO_USER_CR3 scratch_reg=%eax
647 movl %esp, %eax
696 movl %esp, TASK_threadsp(%eax)
738 pushl %eax
740 popl %eax
763 movl %esp, %eax
768 1: movl %edi, %eax
829 pushl %eax
831 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
832 popl %eax
844 pushl %eax /* pt_regs->orig_ax */
870 movl %esp, %eax
872 testl %eax, %eax
885 movl PER_CPU_VAR(cpu_tss_rw + TSS_sp0), %eax
886 subl $(2*4), %eax
891 movl %edi, (%eax)
892 movl %esi, 4(%eax)
906 movl %eax, %esp
909 SWITCH_TO_USER_CR3 scratch_reg=%eax
919 popl %eax
971 pushl %eax /* pt_regs->orig_ax */
975 movl %esp, %eax
985 SWITCH_TO_USER_CR3 scratch_reg=%eax
1011 pushl %eax
1012 SWITCH_TO_USER_CR3 scratch_reg=%eax
1013 popl %eax
1046 shl $16, %eax
1049 addl %esp, %eax /* the adjusted stack pointer */
1051 pushl %eax
1059 movl %ss, %eax
1080 movl %esp, %eax # pt_regs pointer
1085 movl PT_EFLAGS(%esp), %eax # mix EFLAGS and CS
1087 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
1092 movl PT_CS(%esp), %eax
1093 andl $SEGMENT_RPL_MASK, %eax
1095 cmpl $USER_RPL, %eax # returning to v8086 or userspace ?
1104 movl %esp, %eax
1163 pushl %eax
1164 movl %ss, %eax
1166 popl %eax
1170 pushl %eax # pt_regs->orig_ax
1174 movl %esp, %eax # pt_regs pointer
1179 subl %eax, %ecx /* ecx = (end of entry_stack) - esp */
1221 pushl %eax # orig_ax
1230 movl %esp, %eax # pt_regs pointer