• Home
  • Raw
  • Download

Lines Matching full:esp

13  *	 0(%esp) - %ebx
14 * 4(%esp) - %ecx
15 * 8(%esp) - %edx
16 * C(%esp) - %esi
17 * 10(%esp) - %edi
18 * 14(%esp) - %ebp
19 * 18(%esp) - %eax
20 * 1C(%esp) - %ds
21 * 20(%esp) - %es
22 * 24(%esp) - %fs
23 * 28(%esp) - %gs saved iff !CONFIG_X86_32_LAZY_GS
24 * 2C(%esp) - orig_eax
25 * 30(%esp) - %eip
26 * 34(%esp) - %cs
27 * 38(%esp) - %eflags
28 * 3C(%esp) - %oldesp
29 * 40(%esp) - %oldss
73 testl $X86_EFLAGS_IF, PT_EFLAGS(%esp) # interrupts off?
98 addl $(4 + \pop), %esp
124 add $\pop, %esp
129 99: movl $0, (%esp)
136 98: mov PT_GS(%esp), %gs
140 99: movl $0, PT_GS(%esp)
150 movl \reg, PT_GS(%esp)
174 testl $SEGMENT_RPL_MASK, PT_CS(%esp)
265 4: movl $0, (%esp)
267 5: movl $0, (%esp)
269 6: movl $0, (%esp)
306 movl PT_EFLAGS(%esp), %eax # mix EFLAGS, SS and CS
308 * Warning: PT_OLDSS(%esp) contains the wrong/random values if we
312 movb PT_OLDSS(%esp), %ah
313 movb PT_CS(%esp), %al
322 * restore the high word of ESP for us on executing iret... This is an
325 * high word of ESP with the high word of the userspace ESP while
329 mov %esp, %edx /* load kernel esp */
330 mov PT_OLDESP(%esp), %eax /* load userspace esp */
331 mov %dx, %ax /* eax: new kernel esp */
337 pushl %eax /* new kernel esp */
344 lss (%esp), %esp /* switch to espfix segment */
353 * We need to be very careful here with the %esp switch, because an NMI
381 andl $(0x0000ffff), PT_CS(%esp)
386 subl %esp, %ecx /* ecx = (end of entry_stack) - esp */
391 movl %esp, %esi
403 movl PT_EFLAGS(%esp), %ecx # mix EFLAGS and CS
404 movb PT_CS(%esp), %cl
407 movl PT_CS(%esp), %ecx
433 movl %edi, %esp
449 * kernel-mode and %esp points to the entry-stack. When this
470 * %esi: Entry-Stack pointer (same as %esp)
486 orl $CS_FROM_ENTRY_STACK, PT_CS(%esp)
494 orl $CS_FROM_USER_CR3, PT_CS(%esp)
509 * The %esp register must point to pt_regs on the task stack. It will
528 testl $(X86_EFLAGS_VM), PT_EFLAGS(%esp)
540 movl %esp, %esi
555 movl %ebx, %esp
574 testl $CS_FROM_ENTRY_STACK, PT_CS(%esp)
580 andl $(~CS_FROM_ENTRY_STACK), PT_CS(%esp)
583 movl %esp, %esi
606 movl %ebx, %esp
612 testl $CS_FROM_USER_CR3, PT_CS(%esp)
616 andl $(~CS_FROM_USER_CR3), PT_CS(%esp)
638 movl %esp, TASK_threadsp(%eax)
639 movl TASK_threadsp(%edx), %esp
699 movl %esp, %eax
711 movl $0, PT_EAX(%esp)
728 movl PT_EFLAGS(%esp), %eax # mix EFLAGS and CS
729 movb PT_CS(%esp), %al
735 movl PT_CS(%esp), %eax
744 movl %esp, %eax
755 testl $X86_EFLAGS_IF, PT_EFLAGS(%esp) # interrupts off (exception path) ?
774 * Xen doesn't set %esp to be precisely what the normal SYSENTER
778 addl $5*4, %esp /* remove xen-provided frame */
795 * SYSENTER loads SS, ESP, CS, and EIP from previously programmed MSRs.
798 * and does not save old EIP (!!!), ESP, or EFLAGS.
828 movl TSS_entry2task_stack(%esp), %esp
834 orl $X86_EFLAGS_IF, (%esp) /* Fix IF */
859 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, PT_EFLAGS(%esp)
869 movl %esp, %eax
888 movl PT_EFLAGS(%esp), %edi
889 movl PT_EAX(%esp), %esi
894 movl PT_EIP(%esp), %edx /* pt_regs->ip */
895 movl PT_OLDESP(%esp), %ecx /* pt_regs->sp */
896 1: mov PT_FS(%esp), %fs
900 addl $2*4, %esp /* skip pt_regs->cx and pt_regs->dx */
906 movl %eax, %esp
916 btrl $X86_EFLAGS_IF_BIT, (%esp)
929 2: movl $0, PT_FS(%esp)
982 movl %esp, %eax
1042 * normal stack and adjusts ESP with the matching offset.
1049 addl %esp, %eax /* the adjusted stack pointer */
1052 lss (%esp), %esp /* switch to the normal stack segment */
1099 addl $-0x80, (%esp) /* Adjust vector into the [-256, -1] range */
1103 movl %esp, %eax
1116 addl $-0x80, (%esp) /* Adjust vector into the [-256, -1] range */
1121 movl %esp, %eax
1133 movl %esp, %eax; \
1268 movl PT_EIP(%esp), %eax
1277 1: mov %esp, %eax
1300 1: mov 4(%esp), %ds
1301 2: mov 8(%esp), %es
1302 3: mov 12(%esp), %fs
1303 4: mov 16(%esp), %gs
1308 lea 16(%esp), %esp
1318 movl %eax, 4(%esp)
1321 movl %eax, 8(%esp)
1324 movl %eax, 12(%esp)
1327 movl %eax, 16(%esp)
1383 movl PT_GS(%esp), %edi # get the function address
1384 movl PT_ORIG_EAX(%esp), %edx # get the error code
1385 movl $-1, PT_ORIG_EAX(%esp) # no syscall to restart
1389 movl %esp, %eax # pt_regs pointer
1426 movl %esp, %eax # pt_regs pointer
1431 subl %eax, %ecx /* ecx = (end of entry_stack) - esp */
1444 movl %esp, %ebx
1445 movl PER_CPU_VAR(cpu_current_top_of_stack), %esp
1447 movl %ebx, %esp
1460 pushl %esp
1461 addl $4, (%esp)
1464 pushl 16(%esp)
1469 FIXUP_ESPFIX_STACK # %eax == %esp
1473 lss 12+4(%esp), %esp # back to espfix stack
1486 movl %esp, %eax # pt_regs pointer
1510 leal -TOP_OF_KERNEL_STACK_PADDING-PTREGS_SIZE(%esi), %esp