Subversion Repositories HelenOS-historic

Rev

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

Rev 1374 Rev 1378
Line 31... Line 31...
31
.text
31
.text
32
 
32
 
33
.global userspace_asm
33
.global userspace_asm
34
.global iret
34
.global iret
35
.global iret_syscall
35
.global iret_syscall
36
.global invalidate_bat
-
 
37
.global memsetb
36
.global memsetb
38
.global memcpy
37
.global memcpy
39
.global memcpy_from_uspace
38
.global memcpy_from_uspace
40
.global memcpy_to_uspace
39
.global memcpy_to_uspace
41
.global memcpy_from_uspace_failover_address
40
.global memcpy_from_uspace_failover_address
Line 192... Line 191...
192
	lwz r12, 152(sp)
191
	lwz r12, 152(sp)
193
	lwz sp, 156(sp)
192
	lwz sp, 156(sp)
194
 
193
 
195
	rfi
194
	rfi
196
	
195
	
197
invalidate_bat:
-
 
198
	
-
 
199
	# invalidate block address translation registers
-
 
200
	
-
 
201
	li r14, 0
-
 
202
	
-
 
203
	mtspr ibat0u, r14
-
 
204
	mtspr ibat0l, r14
-
 
205
	
-
 
206
	mtspr ibat1u, r14
-
 
207
	mtspr ibat1l, r14
-
 
208
	
-
 
209
	mtspr ibat2u, r14
-
 
210
	mtspr ibat2l, r14
-
 
211
	
-
 
212
	mtspr ibat3u, r14
-
 
213
	mtspr ibat3l, r14
-
 
214
	
-
 
215
	mtspr dbat0u, r14
-
 
216
	mtspr dbat0l, r14
-
 
217
	
-
 
218
	mtspr dbat1u, r14
-
 
219
	mtspr dbat1l, r14
-
 
220
	
-
 
221
	mtspr dbat2u, r14
-
 
222
	mtspr dbat2l, r14
-
 
223
	
-
 
224
	mtspr dbat3u, r14
-
 
225
	mtspr dbat3l, r14
-
 
226
	
-
 
227
	blr
-
 
228
	
-
 
229
memsetb:
196
memsetb:
230
	rlwimi r5, r5, 8, 16, 23
197
	rlwimi r5, r5, 8, 16, 23
231
	rlwimi r5, r5, 16, 0, 15
198
	rlwimi r5, r5, 16, 0, 15
232
	
199
	
233
	addi r14, r3, -4
200
	addi r14, r3, -4