Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2774
Line 37... Line 37...
37
#define OFFSET_R13 0x28
37
#define OFFSET_R13 0x28
38
#define OFFSET_R14 0x30
38
#define OFFSET_R14 0x30
39
#define OFFSET_R15 0x38
39
#define OFFSET_R15 0x38
40
#define OFFSET_IPL 0x40
40
#define OFFSET_IPL 0x40
41
 
41
 
-
 
42
#ifdef __ASM__
-
 
43
 
-
 
44
# ctx: address of the structure with saved context 
-
 
45
# pc: return address
-
 
46
.macro CONTEXT_SAVE_ARCH_CORE ctx:req pc:req
-
 
47
.endm
-
 
48
 
-
 
49
# ctx: address of the structure with saved context 
-
 
50
.macro CONTEXT_RESTORE_ARCH_CORE ctx:req pc:req
-
 
51
.endm
-
 
52
 
-
 
53
#endif
-
 
54
 
42
#endif
55
#endif