Subversion Repositories HelenOS

Rev

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

Rev 1864 Rev 1976
Line 58... Line 58...
58
	stx %l3, [\r + OFFSET_L3]
58
	stx %l3, [\r + OFFSET_L3]
59
	stx %l4, [\r + OFFSET_L4]
59
	stx %l4, [\r + OFFSET_L4]
60
	stx %l5, [\r + OFFSET_L5]
60
	stx %l5, [\r + OFFSET_L5]
61
	stx %l6, [\r + OFFSET_L6]
61
	stx %l6, [\r + OFFSET_L6]
62
	stx %l7, [\r + OFFSET_L7]
62
	stx %l7, [\r + OFFSET_L7]
63
	rdpr %cleanwin, %g1
-
 
64
	stx %g1, [\r + OFFSET_CLEANWIN]
-
 
65
.endm
63
.endm
66
 
64
 
67
.macro CONTEXT_LOAD r
65
.macro CONTEXT_LOAD r
68
	ldx [\r + OFFSET_SP], %sp
66
	ldx [\r + OFFSET_SP], %sp
69
	ldx [\r + OFFSET_PC], %o7
67
	ldx [\r + OFFSET_PC], %o7
Line 81... Line 79...
81
	ldx [\r + OFFSET_L3], %l3
79
	ldx [\r + OFFSET_L3], %l3
82
	ldx [\r + OFFSET_L4], %l4
80
	ldx [\r + OFFSET_L4], %l4
83
	ldx [\r + OFFSET_L5], %l5
81
	ldx [\r + OFFSET_L5], %l5
84
	ldx [\r + OFFSET_L6], %l6
82
	ldx [\r + OFFSET_L6], %l6
85
	ldx [\r + OFFSET_L7], %l7
83
	ldx [\r + OFFSET_L7], %l7
86
	ldx [\r + OFFSET_CLEANWIN], %g1
-
 
87
	wrpr %g1, %g0, %cleanwin
-
 
88
.endm
84
.endm
89
 
85
 
90
context_save_arch:
86
context_save_arch:
91
	CONTEXT_STORE %o0
87
	CONTEXT_STORE %o0
92
	retl
88
	retl