kern: fix %r13 management in syscallentry
This commit is contained in:
parent
90c3415176
commit
7c017f5059
|
@ -49,8 +49,7 @@ syscallentry:
|
||||||
pushq $UESEL /* old code segment */
|
pushq $UESEL /* old code segment */
|
||||||
pushq %rcx /* old ip */
|
pushq %rcx /* old ip */
|
||||||
|
|
||||||
movq %r14, 24(%r15) /* restore %r14 from m->tmp0 */
|
movq 32(%r15), %r13 /* restore %r13 from m->tmp1 */
|
||||||
movq %r13, 32(%r15) /* restore %r13 from m->tmp1 */
|
|
||||||
xchgq %gs:0, %r15 /* restore %r15 */
|
xchgq %gs:0, %r15 /* restore %r15 */
|
||||||
|
|
||||||
subq $(17*8), %rsp
|
subq $(17*8), %rsp
|
||||||
|
|
Loading…
Reference in New Issue