Changes in uspace/lib/c/arch/amd64/src/fibril.S [3b0f1b9a:1a5eca4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/amd64/src/fibril.S
r3b0f1b9a r1a5eca4 51 51 movq %r15, CONTEXT_OFFSET_R15(%rdi) 52 52 53 # save TLS54 53 movq %fs:0, %rax 55 54 movq %rax, CONTEXT_OFFSET_TLS(%rdi) … … 79 78 movq %rdx,(%rsp) 80 79 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 80 movq CONTEXT_OFFSET_TLS(%rdi), %rdi 81 movq %rdi, %fs:0 85 82 86 83 xorl %eax, %eax # context_restore returns 0
Note:
See TracChangeset
for help on using the changeset viewer.