Changes in kernel/arch/abs32le/include/interrupt.h [d99c1d2:7a0359b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/abs32le/include/interrupt.h
rd99c1d2 r7a0359b 37 37 38 38 #include <typedefs.h> 39 #include <verify.h> 40 #include <trace.h> 39 41 40 42 #define IVT_ITEMS 0 … … 53 55 } istate_t; 54 56 55 static inline int istate_from_uspace(istate_t *istate) 57 NO_TRACE static inline int istate_from_uspace(istate_t *istate) 58 REQUIRES_EXTENT_MUTABLE(istate) 56 59 { 57 60 /* On real hardware this checks whether the interrupted … … 61 64 } 62 65 63 static inline void istate_set_retaddr(istate_t *istate, uintptr_t retaddr) 66 NO_TRACE static inline void istate_set_retaddr(istate_t *istate, 67 uintptr_t retaddr) 68 WRITES(&istate->ip) 64 69 { 65 70 /* On real hardware this sets the instruction pointer. */ … … 68 73 } 69 74 70 static inline unative_t istate_get_pc(istate_t *istate) 75 NO_TRACE static inline unative_t istate_get_pc(istate_t *istate) 76 REQUIRES_EXTENT_MUTABLE(istate) 71 77 { 72 78 /* On real hardware this returns the instruction pointer. */ … … 75 81 } 76 82 77 static inline unative_t istate_get_fp(istate_t *istate) 83 NO_TRACE static inline unative_t istate_get_fp(istate_t *istate) 84 REQUIRES_EXTENT_MUTABLE(istate) 78 85 { 79 86 /* On real hardware this returns the frame pointer. */
Note:
See TracChangeset
for help on using the changeset viewer.