Changes in kernel/arch/amd64/include/istate.h [d59c046:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/istate.h
rd59c046 r9d58539 66 66 } istate_t; 67 67 68 #define RPL_USER 369 70 68 /** Return true if exception happened while in userspace */ 71 69 NO_TRACE static inline int istate_from_uspace(istate_t *istate) 72 70 { 73 return (istate->cs & RPL_USER) == RPL_USER;71 return !(istate->rip & UINT64_C(0x8000000000000000)); 74 72 } 75 73
Note:
See TracChangeset
for help on using the changeset viewer.