Lines Matching refs:eax

152 	movl	%cr3, %eax
153 testl $PTI_SWITCH_MASK, %eax
259 pushl %eax
261 movl 5*4(%esp), %eax # (modified) regs->sp
264 movl %ecx, %ss:-1*4(%eax)
268 movl %ecx, %ss:-2*4(%eax)
271 movl %ecx, %ss:-3*4(%eax)
273 movl 1*4(%esp), %ecx # eax
274 movl %ecx, %ss:-4*4(%eax)
277 lea -4*4(%eax), %esp
278 popl %eax
282 .macro SAVE_ALL pt_regs_ax=%eax switch_stacks=0 skip_gs=0 unwind_espfix=0
289 pushl %eax
290 movl $(__KERNEL_PERCPU), %eax
291 movl %eax, %fs
295 popl %eax
343 popl %eax
396 movl PT_EFLAGS(%esp), %eax # mix EFLAGS, SS and CS
404 andl $(X86_EFLAGS_VM | (SEGMENT_TI_MASK << 8) | SEGMENT_RPL_MASK), %eax
405 cmpl $((SEGMENT_LDT << 8) | USER_RPL), %eax
420 mov PT_OLDESP(%esp), %eax /* load userspace esp */
422 sub %eax, %edx /* offset (low word is 0) */
427 pushl %eax /* new kernel esp */
454 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
570 testl $PTI_SWITCH_MASK, %eax
694 SWITCH_TO_USER_CR3 scratch_reg=%eax
728 movl %esp, %eax
777 movl %esp, TASK_threadsp(%eax)
817 pushl %eax
819 popl %eax
842 movl %esp, %eax
847 1: movl %edi, %eax
908 pushl %eax
910 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
911 popl %eax
923 pushl %eax /* pt_regs->orig_ax */
949 movl %esp, %eax
951 testl %eax, %eax
964 movl PER_CPU_VAR(cpu_tss_rw + TSS_sp0), %eax
965 subl $(2*4), %eax
970 movl %edi, (%eax)
971 movl %esi, 4(%eax)
986 movl %eax, %esp
989 SWITCH_TO_USER_CR3 scratch_reg=%eax
999 popl %eax
1052 pushl %eax /* pt_regs->orig_ax */
1056 movl %esp, %eax
1066 SWITCH_TO_USER_CR3 scratch_reg=%eax
1092 pushl %eax
1093 SWITCH_TO_USER_CR3 scratch_reg=%eax
1094 popl %eax
1127 shl $16, %eax
1130 addl %esp, %eax /* the adjusted stack pointer */
1132 pushl %eax
1140 movl %ss, %eax
1165 movl %esp, %eax # pt_regs pointer
1170 movl PT_EFLAGS(%esp), %eax # mix EFLAGS and CS
1172 andl $(X86_EFLAGS_VM | SEGMENT_RPL_MASK), %eax
1177 movl PT_CS(%esp), %eax
1178 andl $SEGMENT_RPL_MASK, %eax
1180 cmpl $USER_RPL, %eax # returning to v8086 or userspace ?
1189 movl %esp, %eax
1248 pushl %eax
1249 movl %ss, %eax
1251 popl %eax
1255 pushl %eax # pt_regs->orig_ax
1259 movl %esp, %eax # pt_regs pointer
1264 subl %eax, %ecx /* ecx = (end of entry_stack) - esp */
1306 pushl %eax # orig_ax
1315 movl %esp, %eax # pt_regs pointer