Rev 2942 | Rev 3012 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2942 | Rev 3005 | ||
|---|---|---|---|
| Line 82... | Line 82... | ||
| 82 | uint32_t status; /* cp0_status */ |
82 | uint32_t status; /* cp0_status */ |
| 83 | uint32_t epc; /* cp0_epc */ |
83 | uint32_t epc; /* cp0_epc */ |
| 84 | uint32_t k1; /* We use it as thread-local pointer */ |
84 | uint32_t k1; /* We use it as thread-local pointer */ |
| 85 | } istate_t; |
85 | } istate_t; |
| 86 | 86 | ||
| - | 87 | static inline uint32_t istate_get_pc(istate_t *istate) |
|
| - | 88 | { |
|
| - | 89 | return istate->epc; |
|
| - | 90 | } |
|
| - | 91 | ||
| 87 | #endif |
92 | #endif |
| 88 | 93 | ||
| 89 | /** @} |
94 | /** @} |
| 90 | */ |
95 | */ |