Changeset 874621f in mainline for arch/amd64/include/interrupt.h
- Timestamp:
- 2006-06-06T07:40:51Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0dbc4e7
- Parents:
- 6f9a9bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/interrupt.h
r6f9a9bc r874621f 87 87 }; 88 88 89 /** Return true if exception happened while in userspace */ 90 static inline int istate_from_uspace(istate_t *istate) 91 { 92 return !(istate->rip & 0x8000000000000000); 93 } 94 89 95 static inline void istate_set_retaddr(istate_t *istate, __address retaddr) 90 96 { 91 97 istate->rip = retaddr; 98 } 99 static inline __native istate_get_pc(istate_t *istate) 100 { 101 return istate->rip; 92 102 } 93 103
Note:
See TracChangeset
for help on using the changeset viewer.