Changeset 874621f in mainline for arch/mips32/include/exception.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/mips32/include/exception.h
r6f9a9bc r874621f 35 35 36 36 #include <typedefs.h> 37 #include <arch/cp0.h> 37 38 38 39 #define EXC_Int 0 … … 99 100 } 100 101 102 /** Return true if exception happened while in userspace */ 103 static inline int istate_from_uspace(istate_t *istate) 104 { 105 return istate->status & cp0_status_um_bit; 106 } 107 static inline __native istate_get_pc(istate_t *istate) 108 { 109 return istate->epc; 110 } 111 101 112 extern void exception(istate_t *istate); 102 113 extern void tlb_refill_entry(void);
Note:
See TracChangeset
for help on using the changeset viewer.