Lines Matching refs:edx

56 	movl	4(%esp), %edx		/* get address of mcontext */
57 cmpl $0, %edx /* check for null pointer */
61 1: cmpl $MC_LEN, MC_LEN_OFFSET(%edx) /* is context valid? */
65 2: /*movl 4(%edx), %gs*/ /* we don't touch %gs */
66 movw 8(%edx), %fs
67 movw 12(%edx), %es
68 movw 16(%edx), %ds
69 movw 76(%edx), %ss
70 movl 20(%edx), %edi
71 movl 24(%edx), %esi
72 movl 28(%edx), %ebp
74 movl 72(%edx), %esp /* switch to context defined stack */
75 pushl 60(%edx) /* push return address on stack */
76 pushl 44(%edx) /* push ecx on stack */
77 pushl 48(%edx) /* push eax on stack */
86 cmpl $MC_OWNEDFP_FPU, MC_OWNEDFP_OFFSET(%edx)
88 cmpl $MC_OWNEDFP_PCB, MC_OWNEDFP_OFFSET(%edx)
90 3: cmpl $MC_FPFMT_387, MC_FPFMT_OFFSET(%edx)
92 frstor MC_FPREGS_OFFSET(%edx) /* restore 387 FP regs */
94 4: cmpl $MC_FPFMT_XMM, MC_FPFMT_OFFSET(%edx)
96 fxrstor MC_FPREGS_OFFSET(%edx) /* restore XMM FP regs */
99 fldcw MC_FP_CW_OFFSET(%edx)
100 6: pushl 68(%edx) /* push flags register on stack*/
101 movl 36(%edx), %ebx /* restore ebx and edx */
102 movl 40(%edx), %edx
122 pushl %edx /* save edx */
123 movl 8(%esp), %edx /* get address of mcontext */
124 cmpl $0, %edx /* check for null pointer */
126 popl %edx /* restore edx and stack */
129 1: /*movw %gs, 4(%edx)*/ /* we don't touch %gs */
130 movw %fs, 8(%edx)
131 movw %es, 12(%edx)
132 movw %ds, 16(%edx)
133 movw %ss, 76(%edx)
134 movl %edi, 20(%edx)
135 movl %esi, 24(%edx)
136 movl %ebp, 28(%edx)
137 movl %ebx, 36(%edx)
138 movl $1, 48(%edx) /* store successful return in eax */
139 popl %eax /* get saved value of edx */
140 movl %eax, 40(%edx) /* save edx */
141 movl %ecx, 44(%edx)
143 movl %eax, 60(%edx) /* save return address */
144 fnstcw MC_FP_CW_OFFSET(%edx)
145 movl $MC_LEN, MC_LEN_OFFSET(%edx)
146 movl $MC_FPFMT_NODEV, MC_FPFMT_OFFSET(%edx) /* no FP */
147 movl $MC_OWNEDFP_NONE, MC_OWNEDFP_OFFSET(%edx) /* no FP */
150 movl %eax, 68(%edx) /* store eflags */
153 movl %eax, 72(%edx) /* stack; account for this */
154 movl 40(%edx), %edx /* restore edx -- is this needed? */