Rev 820 | Rev 1021 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 820 | Rev 955 | ||
---|---|---|---|
Line 205... | Line 205... | ||
205 | pushq %r11 # Save flags |
205 | pushq %r11 # Save flags |
206 | 206 | ||
207 | # Switch back to remain consistent |
207 | # Switch back to remain consistent |
208 | swapgs |
208 | swapgs |
209 | 209 | ||
- | 210 | sti |
|
210 | movq %r9, %rcx # Exchange last parameter as a third |
211 | movq %r9, %rcx # Exchange last parameter as a third |
211 | call syscall_handler |
212 | call syscall_handler |
- | 213 | cli # We will be touching stack pointer |
|
212 | 214 | ||
213 | popq %r11 |
215 | popq %r11 |
214 | popq %rcx |
216 | popq %rcx |
215 | movq 0(%rsp), %rsp |
217 | movq 0(%rsp), %rsp |
216 | sysretq |
218 | sysretq |
217 | 219 |