Subversion Repositories HelenOS-historic

Rev

Rev 657 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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