Subversion Repositories HelenOS-historic

Rev

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

Rev 1105 Rev 1113
Line 35... Line 35...
35
.globl __thread_entry
35
.globl __thread_entry
36
 
36
 
37
## User-space thread entry point for all but the first threads.
37
## User-space thread entry point for all but the first threads.
38
#
38
#
39
#
39
#
-
 
40
.ent __thread_entry
40
__thread_entry:
41
__thread_entry:
41
	lui $28, _gp
42
	lui $28, _gp
42
 
43
 
43
	#
44
	#
44
	# v0 contains address of uarg.
45
	# v0 contains address of uarg.
45
	#
46
	#
46
	add $4, $2, 0
47
	add $4, $2, 0
47
	jal thread_main
48
	# Mips o32 may store its arguments on stack, make space
48
	nop
49
	addiu $sp, -16
49
	
50
	
-
 
51
	j __thread_main
-
 
52
	nop
-
 
53
		
50
	#
54
	#
51
	# Not reached.
55
	# Not reached.
52
	#
56
	#
-
 
57
.end __thread_entry