Subversion Repositories HelenOS

Rev

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

Rev 3743 Rev 4638
Line 76... Line 76...
76
 * %o1	Userspace stack pointer address.
76
 * %o1	Userspace stack pointer address.
77
 * %o2  Userspace address of uarg structure.
77
 * %o2  Userspace address of uarg structure.
78
 */
78
 */
79
.global switch_to_userspace
79
.global switch_to_userspace
80
switch_to_userspace:
80
switch_to_userspace:
-
 
81
	
81
	save %o1, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
82
	save %o1, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
82
	flushw
83
	flushw
83
	wrpr %g0, 0, %cleanwin		! avoid information leak
84
	wrpr %g0, 0, %cleanwin		! avoid information leak
84
 
85
 
85
	mov %i2, %o0			! uarg
86
	mov %i2, %o0			! uarg