Changes in uspace/lib/c/arch/amd64/src/fibril.S [e80329d6:63f8966] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/amd64/src/fibril.S
re80329d6 r63f8966 49 49 movq %rax, OFFSET_TLS(%rdi) 50 50 51 xor l %eax, %eax # context_save returns 152 inc l %eax51 xorq %rax,%rax # context_save returns 1 52 incq %rax 53 53 ret 54 54 … … 67 67 # Set thread local storage 68 68 movq OFFSET_TLS(%rdi), %rdi # Set arg1 to TLS addr 69 mov l $1, %eax # SYS_TLS_SET69 movq $1, %rax # SYS_TLS_SET 70 70 syscall 71 71 72 xor l %eax, %eax # context_restore returns 072 xorq %rax,%rax # context_restore returns 0 73 73 ret
Note:
See TracChangeset
for help on using the changeset viewer.