Changes in kernel/arch/mips32/include/arch/istate.h [c5429fe:8df5f20] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/arch/istate.h
rc5429fe r8df5f20 50 50 #endif /* KERNEL */ 51 51 52 NO_TRACE static inline void istate_set_retaddr(istate_t *istate,52 _NO_TRACE static inline void istate_set_retaddr(istate_t *istate, 53 53 uintptr_t retaddr) 54 54 { … … 57 57 58 58 /** Return true if exception happened while in userspace */ 59 NO_TRACE static inline int istate_from_uspace(istate_t *istate)59 _NO_TRACE static inline int istate_from_uspace(istate_t *istate) 60 60 { 61 61 return istate->status & cp0_status_um_bit; 62 62 } 63 63 64 NO_TRACE static inline uintptr_t istate_get_pc(istate_t *istate)64 _NO_TRACE static inline uintptr_t istate_get_pc(istate_t *istate) 65 65 { 66 66 return istate->epc; 67 67 } 68 68 69 NO_TRACE static inline uintptr_t istate_get_fp(istate_t *istate)69 _NO_TRACE static inline uintptr_t istate_get_fp(istate_t *istate) 70 70 { 71 71 return istate->sp;
Note:
See TracChangeset
for help on using the changeset viewer.