Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2083
Line 50... Line 50...
50
 
50
 
51
/*
51
/*
52
 * Only save registers that must be preserved across
52
 * Only save registers that must be preserved across
53
 * function calls.
53
 * function calls.
54
 */
54
 */
55
struct context {
55
typedef struct {
56
    uintptr_t sp;
56
    uintptr_t sp;
57
    uintptr_t pc;
57
    uintptr_t pc;
58
   
58
   
59
    uint32_t s0;
59
    uint32_t s0;
60
    uint32_t s1;
60
    uint32_t s1;
Line 66... Line 66...
66
    uint32_t s7;
66
    uint32_t s7;
67
    uint32_t s8;
67
    uint32_t s8;
68
    uint32_t gp;
68
    uint32_t gp;
69
 
69
 
70
    ipl_t ipl;
70
    ipl_t ipl;
71
};
71
} context_t;
72
 
72
 
73
#endif /* __ASM__ */
73
#endif /* __ASM__ */
74
 
74
 
75
#endif
75
#endif
76
 
76