Rev 1595 | Rev 1702 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1595 | Rev 1621 | ||
---|---|---|---|
Line 118... | Line 118... | ||
118 | return istate->cr_iip; |
118 | return istate->cr_iip; |
119 | } |
119 | } |
120 | #include <panic.h> |
120 | #include <panic.h> |
121 | static inline int istate_from_uspace(istate_t *istate) |
121 | static inline int istate_from_uspace(istate_t *istate) |
122 | { |
122 | { |
123 | panic("TODO: istate_from_uspace not yet implemented"); |
123 | return (istate->cr_iip)<0xe000000000000000ULL; |
124 | return 0; |
- | |
125 | } |
124 | } |
126 | 125 | ||
127 | extern void *ivt; |
126 | extern void *ivt; |
128 | 127 | ||
129 | extern void general_exception(__u64 vector, istate_t *istate); |
128 | extern void general_exception(__u64 vector, istate_t *istate); |