Rev 1288 | Rev 1507 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1288 | Rev 1295 | ||
---|---|---|---|
Line 106... | Line 106... | ||
106 | __u64 in4; |
106 | __u64 in4; |
107 | }; |
107 | }; |
108 | 108 | ||
109 | static inline void istate_set_retaddr(istate_t *istate, __address retaddr) |
109 | static inline void istate_set_retaddr(istate_t *istate, __address retaddr) |
110 | { |
110 | { |
111 | /* TODO */ |
111 | istate->cr_iip = retaddr; |
- | 112 | istate->cr_ipsr.ri = 0; /* return to instruction slot #0 */ |
|
112 | } |
113 | } |
113 | 114 | ||
114 | extern void *ivt; |
115 | extern void *ivt; |
115 | 116 | ||
116 | extern void general_exception(__u64 vector, istate_t *istate); |
117 | extern void general_exception(__u64 vector, istate_t *istate); |