Changes in kernel/arch/ppc32/include/istate.h [26aafe8:598f90e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/istate.h
r26aafe8 r598f90e 73 73 uint32_t cr; 74 74 uint32_t pc; 75 uint32_t msr;75 uint32_t srr1; 76 76 uint32_t lr; 77 77 uint32_t ctr; … … 90 90 /** Return true if exception happened while in userspace 91 91 * 92 * The contexts of MSR register was stored in SRR1. 93 * 92 94 */ 93 95 NO_TRACE static inline int istate_from_uspace(istate_t *istate) 94 96 { 95 return (istate-> msr& MSR_PR) != 0;97 return (istate->srr1 & MSR_PR) != 0; 96 98 } 97 99
Note:
See TracChangeset
for help on using the changeset viewer.