Changes in uspace/lib/c/arch/amd64/src/fibril.S [1a5eca4:3b0f1b9a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/amd64/src/fibril.S
r1a5eca4 r3b0f1b9a 51 51 movq %r15, CONTEXT_OFFSET_R15(%rdi) 52 52 53 # save TLS 53 54 movq %fs:0, %rax 54 55 movq %rax, CONTEXT_OFFSET_TLS(%rdi) … … 78 79 movq %rdx,(%rsp) 79 80 80 movq CONTEXT_OFFSET_TLS(%rdi), %rdi 81 movq %rdi, %fs:0 81 # Set thread local storage 82 movq CONTEXT_OFFSET_TLS(%rdi), %rdi # Set arg1 to TLS addr 83 movl $1, %eax # SYS_TLS_SET 84 syscall 82 85 83 86 xorl %eax, %eax # context_restore returns 0
Note:
See TracChangeset
for help on using the changeset viewer.