Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/amd64/src/fibril.S

    re80329d6 r63f8966  
    4949        movq %rax, OFFSET_TLS(%rdi)
    5050               
    51         xorl %eax, %eax         # context_save returns 1
    52         incl %eax
     51        xorq %rax,%rax          # context_save returns 1
     52        incq %rax
    5353        ret
    5454
     
    6767        # Set thread local storage
    6868        movq OFFSET_TLS(%rdi), %rdi   # Set arg1 to TLS addr
    69         movl $1, %eax           # SYS_TLS_SET
     69        movq $1, %rax           # SYS_TLS_SET
    7070        syscall
    7171
    72         xorl %eax, %eax         # context_restore returns 0
     72        xorq %rax,%rax          # context_restore returns 0
    7373        ret
Note: See TracChangeset for help on using the changeset viewer.