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