Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2083
Line 49... Line 49...
49
 
49
 
50
/*
50
/*
51
 * Only save registers that must be preserved across
51
 * Only save registers that must be preserved across
52
 * function calls.
52
 * function calls.
53
 */
53
 */
54
struct context {
54
typedef struct {
55
    uintptr_t sp;
55
    uintptr_t sp;
56
    uintptr_t pc;
56
    uintptr_t pc;
57
    uint32_t ebx;
57
    uint32_t ebx;
58
    uint32_t esi;
58
    uint32_t esi;
59
    uint32_t edi;
59
    uint32_t edi;
60
    uint32_t ebp;
60
    uint32_t ebp;
61
    ipl_t ipl;
61
    ipl_t ipl;
62
} __attribute__ ((packed));
62
} __attribute__ ((packed)) context_t;
63
 
63
 
64
#endif
64
#endif
65
 
65
 
66
/** @}
66
/** @}
67
 */
67
 */