Subversion Repositories HelenOS

Rev

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

Rev 2927 Rev 3150
Line 29... Line 29...
29
.section .init, "ax"
29
.section .init, "ax"
30
 
30
 
31
.org 0
31
.org 0
32
 
32
 
33
.globl __entry
33
.globl __entry
34
.globl __entry_driver
-
 
35
 
34
 
36
## User-space task entry point
35
## User-space task entry point
37
#
36
#
38
#
37
#
39
__entry:
38
__entry:
40
	sethi %hi(_gp), %l7
39
	sethi %hi(_gp), %l7
41
	call __main
40
	call __main
42
	or %l7, %lo(_gp), %l7
41
	or %l7, %lo(_gp), %l7
43
	call __io_init
-
 
44
	nop
-
 
45
	call main
-
 
46
	nop
-
 
47
	call __exit
-
 
48
	nop
-
 
49
 
-
 
50
__entry_driver:
-
 
51
	sethi %hi(_gp), %l7
-
 
52
	call __main
-
 
53
	or %l7, %lo(_gp), %l7
-
 
54
	call main
42
	call main
55
	nop
43
	nop
56
	call __exit
44
	call __exit
57
	nop
45
	nop