Subversion Repositories HelenOS

Rev

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

Rev 3386 Rev 4153
Line 64... Line 64...
64
	
64
	
65
	# set stack
65
	# set stack
66
	
66
	
67
	mr sp, r4
67
	mr sp, r4
68
 
68
 
69
	# %r3 is defined to hold pcb_ptr - set it to 0
69
	# %r6 is defined to hold pcb_ptr - set it to 0
70
 
70
 
71
	xor r3, r3, r3
71
	xor r6, r6, r6
72
	
72
	
73
	# jump to userspace
73
	# jump to userspace
74
	
74
	
75
	rfi
75
	rfi
76
 
76
 
Line 129... Line 129...
129
	mtctr r12
129
	mtctr r12
130
	
130
	
131
	lwz r12, 148(sp)
131
	lwz r12, 148(sp)
132
	mtxer r12
132
	mtxer r12
133
	
133
	
134
	lwz r12, 152(sp)
134
	lwz r12, 156(sp)
135
	lwz sp, 156(sp)
135
	lwz sp, 160(sp)
136
	
136
	
137
	rfi
137
	rfi
138
 
138
 
139
iret_syscall:
139
iret_syscall:
140
	
140
	
Line 195... Line 195...
195
	mtctr r12
195
	mtctr r12
196
	
196
	
197
	lwz r12, 148(sp)
197
	lwz r12, 148(sp)
198
	mtxer r12
198
	mtxer r12
199
	
199
	
200
	lwz r12, 152(sp)
200
	lwz r12, 156(sp)
201
	lwz sp, 156(sp)
201
	lwz sp, 160(sp)
202
 
202
 
203
	rfi
203
	rfi
204
	
204
	
205
memsetb:
205
memsetb:
206
	b _memsetb
206
	b _memsetb