Subversion Repositories HelenOS

Rev

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

Rev 3274 Rev 4202
Line 226... Line 226...
226
.global memsetb
226
.global memsetb
227
memsetb:
227
memsetb:
228
	b _memsetb
228
	b _memsetb
229
	nop
229
	nop
230
 
230
 
-
 
231
.global memsetw
-
 
232
memsetw:
-
 
233
	b _memsetw
-
 
234
	nop
-
 
235
 
231
 
236
 
232
.macro WRITE_ALTERNATE_REGISTER reg, bit
237
.macro WRITE_ALTERNATE_REGISTER reg, bit
233
	rdpr %pstate, %g1				! save PSTATE.PEF
238
	rdpr %pstate, %g1				! save PSTATE.PEF
234
	wrpr %g0, (\bit | PSTATE_PRIV_BIT), %pstate
239
	wrpr %g0, (\bit | PSTATE_PRIV_BIT), %pstate
235
	mov %o0, \reg
240
	mov %o0, \reg