Subversion Repositories HelenOS

Rev

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

Rev 3150 Rev 3168
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
# %rdi contains the PCB pointer
37
#
38
#
38
__entry:
39
__entry:
-
 
40
	# %rdi was deliberately chosen as the first argument is also in %rdi
-
 
41
	# Pass PCB pointer to __main (no operation)
39
	call __main
42
	call __main
-
 
43
 
40
	call main
44
	call main
41
	call __exit
45
	call __exit