Use popfl to get the flags off the stack instead of popf.
Submitted by: davidxu
This commit is contained in:
parent
96524a52b6
commit
6c2a22923c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113784
@ -106,6 +106,6 @@ ENTRY(_thread_switch)
|
||||
movl %ebx,(%ecx)
|
||||
popl %ecx /* %ecx off stack */
|
||||
popl %ebx /* %ebx off stack */
|
||||
popf /* flags off stack */
|
||||
popfl /* flags off stack */
|
||||
5: ret /* %eip off stack */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user