Subversion Repositories HelenOS

Rev

Rev 2482 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2482 Rev 2606
Line 78... Line 78...
78
	movq OFFSET_PC(%rdi), %rdx
78
	movq OFFSET_PC(%rdi), %rdx
79
	movq %rdx,(%rsp)
79
	movq %rdx,(%rsp)
80
 
80
 
81
	# Set thread local storage
81
	# Set thread local storage
82
	movq OFFSET_TLS(%rdi), %rdi   # Set arg1 to TLS addr
82
	movq OFFSET_TLS(%rdi), %rdi   # Set arg1 to TLS addr
83
	movq $1, %r8
83
	movq $1, %rax		# SYS_TLS_SET
84
	syscall
84
	syscall
85
 
85
 
86
	xorq %rax,%rax		# context_restore returns 0
86
	xorq %rax,%rax		# context_restore returns 0
87
	ret
87
	ret