Subversion Repositories HelenOS-historic

Rev

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

Rev 534 Rev 650
Line 49... Line 49...
49
	stx %o4, [\r + OFFSET_O4]
49
	stx %o4, [\r + OFFSET_O4]
50
	stx %o5, [\r + OFFSET_O5]
50
	stx %o5, [\r + OFFSET_O5]
51
	stx %o7, [\r + OFFSET_PC]
51
	stx %o7, [\r + OFFSET_PC]
52
	stx %sp, [\r + OFFSET_SP]
52
	stx %sp, [\r + OFFSET_SP]
53
	stx %fp, [\r + OFFSET_FP]
53
	stx %fp, [\r + OFFSET_FP]
-
 
54
	stx %i7, [\r + OFFSET_I7]
54
.endm
55
.endm
55
 
56
 
56
.macro CONTEXT_LOAD r
57
.macro CONTEXT_LOAD r
57
	ldx [\r + OFFSET_O1], %o1
58
	ldx [\r + OFFSET_O1], %o1
58
	ldx [\r + OFFSET_O2], %o2
59
	ldx [\r + OFFSET_O2], %o2
Line 60... Line 61...
60
	ldx [\r + OFFSET_O4], %o4
61
	ldx [\r + OFFSET_O4], %o4
61
	ldx [\r + OFFSET_O5], %o5
62
	ldx [\r + OFFSET_O5], %o5
62
	ldx [\r + OFFSET_PC], %o7
63
	ldx [\r + OFFSET_PC], %o7
63
	ldx [\r + OFFSET_SP], %sp
64
	ldx [\r + OFFSET_SP], %sp
64
	ldx [\r + OFFSET_FP], %fp
65
	ldx [\r + OFFSET_FP], %fp
-
 
66
	ldx [\r + OFFSET_I7], %i7
65
.endm
67
.endm
66
 
68
 
67
context_save_arch:
69
context_save_arch:
68
	CONTEXT_STORE %o0
70
	CONTEXT_STORE %o0
69
	retl
71
	retl