- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/CtxSwitch-i386.S
rbf71cfd rb2f6113 53 53 // Save floating & SSE control words on the stack. 54 54 55 56 57 55 sub $8,%esp 56 stmxcsr 0(%esp) // 4 bytes 57 fnstcw 4(%esp) // 2 bytes 58 58 59 59 // Save volatile registers on the stack. … … 67 67 movl %esp,SP_OFFSET(%eax) 68 68 movl %ebp,FP_OFFSET(%eax) 69 // movl 4(%ebp),%ebx // save previous eip for debugger70 // movl %ebx,PC_OFFSET(%eax)71 69 72 70 // Copy the "to" context argument from the stack to register eax … … 89 87 // Load floating & SSE control words from the stack. 90 88 91 92 93 89 fldcw 4(%esp) 90 ldmxcsr 0(%esp) 91 add $8,%esp 94 92 95 93 // Return to thread.
Note: See TracChangeset
for help on using the changeset viewer.