Subversion Repositories HelenOS

Rev

Rev 3386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3386 Rev 4153
Line 32... Line 32...
32
 
32
 
33
.globl __entry
33
.globl __entry
34
 
34
 
35
## User-space task entry point
35
## User-space task entry point
36
#
36
#
37
# r3 contains the PCB pointer
37
# r6 contains the PCB pointer
38
#
38
#
39
__entry:
39
__entry:
40
	# Pass the PCB pointer to __main() as the first argument.
40
	# Pass the PCB pointer to __main() as the first argument.
41
	# Since the first argument is passed in r3, no operation is needed.
41
	# The first argument is passed in r3.
-
 
42
	mr %r3, %r6
42
	bl __main
43
	bl __main
43
 
44
 
44
	bl __exit
45
	bl __exit