mirror of https://github.com/l4ka/pistachio.git
- GCC4.2.3 expects to, from thread ids in registers, rather than on the
stack; use a declaration that works for both stack and register arguments
This commit is contained in:
parent
7b6e72a5fb
commit
cb8c8e2825
|
@ -251,6 +251,7 @@ slowpath:
|
|||
movq %r13, UTCB_MR(5)(%rdi)
|
||||
movq %r14, UTCB_MR(6)(%rdi)
|
||||
movq %r15, UTCB_MR(7)(%rdi)
|
||||
movq %r8, %rdi // timeout (1st argument)
|
||||
subq $16, %rsp // make room for from and to
|
||||
movq %rdx, 8(%rsp) // save from
|
||||
movq %rsi, (%rsp) // save to
|
||||
|
|
Loading…
Reference in New Issue