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 2083
Line 37... Line 37...
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
 
39
 
40
#define SP_DELTA    16
40
#define SP_DELTA    16
41
 
41
 
42
struct context {
42
typedef struct {
43
    uintptr_t sp;
43
    uintptr_t sp;
44
    uintptr_t pc;
44
    uintptr_t pc;
45
   
45
   
46
    uint32_t r2;
46
    uint32_t r2;
47
    uint32_t r13;
47
    uint32_t r13;
Line 65... Line 65...
65
    uint32_t r31;
65
    uint32_t r31;
66
   
66
   
67
    uint32_t cr;
67
    uint32_t cr;
68
   
68
   
69
    ipl_t ipl;
69
    ipl_t ipl;
70
} __attribute__ ((packed));
70
} __attribute__ ((packed)) context_t;
71
 
71
 
72
#endif
72
#endif
73
 
73
 
74
/** @}
74
/** @}
75
 */
75
 */