Lines Matching refs:esp
161 movw %ds,(%esp)
163 movw %es,(%esp)
165 movw %fs,(%esp)
169 FAKE_MCOUNT(TF_EIP(%esp))
171 pushl %esp
173 add $4, %esp
199 cmpl $GSEL_KPL, 4(%esp) /* Check the code segment */
201 testl $PSL_VM, 8(%esp) /* and vm86 mode. */
236 * final spot. It has to be done this way because esp can't be just
243 popl 8(%esp) /* shuffle into tf_eflags */
248 movw %ds,(%esp)
250 movw %es,(%esp)
252 movw %fs,(%esp)
255 FAKE_MCOUNT(TF_EIP(%esp))
256 pushl %esp
258 add $4, %esp
277 movw %ds,(%esp)
279 movw %es,(%esp)
281 movw %fs,(%esp)
284 FAKE_MCOUNT(TF_EIP(%esp))
285 pushl %esp
287 add $4, %esp
292 pushl %esp /* trapframe pointer */
296 addl $12,%esp
362 cmpb $T_NMI,TF_TRAPNO(%esp)
373 testl $PSL_VM,TF_EFLAGS(%esp)
381 testb $SEL_RPL_MASK,TF_CS(%esp) /* are we returning to user mode? */
395 pushl %esp /* pass a pointer to the trapframe */
397 add $4,%esp
421 addl $8,%esp
444 subl $8,%esp
447 movw %ds,(%esp)
450 testb $SEL_RPL_MASK,TF_CS-TF_DS(%esp)
453 movw %es,(%esp)
456 testb $SEL_RPL_MASK,TF_CS-TF_ES(%esp)
459 movw %fs,(%esp)
462 testb $SEL_RPL_MASK,TF_CS-TF_FS(%esp)
465 movl $0,TF_ERR(%esp) /* XXX should be the error code */
466 movl $T_PROTFLT,TF_TRAPNO(%esp)
470 movl $0,(%esp)
473 movl $0,(%esp)
476 movl $0,(%esp)
486 testb $SEL_RPL_MASK,TF_CS(%esp)
507 pushl %esp /* frame pointer */
513 addl $12,%esp