Changeset d5a89a3 in mainline for kernel/arch/amd64/include/arch/istate.h
- Timestamp:
- 2019-02-11T22:31:04Z (6 years ago)
- Children:
- aaf9789c
- Parents:
- e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/arch/istate.h
re3272101 rd5a89a3 47 47 48 48 /** Return true if exception happened while in userspace */ 49 NO_TRACE static inline int istate_from_uspace(istate_t *istate)49 _NO_TRACE static inline int istate_from_uspace(istate_t *istate) 50 50 { 51 51 return (istate->cs & RPL_USER) == RPL_USER; 52 52 } 53 53 54 NO_TRACE static inline void istate_set_retaddr(istate_t *istate,54 _NO_TRACE static inline void istate_set_retaddr(istate_t *istate, 55 55 uintptr_t retaddr) 56 56 { … … 58 58 } 59 59 60 NO_TRACE static inline uintptr_t istate_get_pc(istate_t *istate)60 _NO_TRACE static inline uintptr_t istate_get_pc(istate_t *istate) 61 61 { 62 62 return istate->rip; 63 63 } 64 64 65 NO_TRACE static inline uintptr_t istate_get_fp(istate_t *istate)65 _NO_TRACE static inline uintptr_t istate_get_fp(istate_t *istate) 66 66 { 67 67 return istate->rbp;
Note:
See TracChangeset
for help on using the changeset viewer.