Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/abs32le/include/interrupt.h

    rd99c1d2 r7a0359b  
    3737
    3838#include <typedefs.h>
     39#include <verify.h>
     40#include <trace.h>
    3941
    4042#define IVT_ITEMS  0
     
    5355} istate_t;
    5456
    55 static inline int istate_from_uspace(istate_t *istate)
     57NO_TRACE static inline int istate_from_uspace(istate_t *istate)
     58    REQUIRES_EXTENT_MUTABLE(istate)
    5659{
    5760        /* On real hardware this checks whether the interrupted
     
    6164}
    6265
    63 static inline void istate_set_retaddr(istate_t *istate, uintptr_t retaddr)
     66NO_TRACE static inline void istate_set_retaddr(istate_t *istate,
     67    uintptr_t retaddr)
     68    WRITES(&istate->ip)
    6469{
    6570        /* On real hardware this sets the instruction pointer. */
     
    6873}
    6974
    70 static inline unative_t istate_get_pc(istate_t *istate)
     75NO_TRACE static inline unative_t istate_get_pc(istate_t *istate)
     76    REQUIRES_EXTENT_MUTABLE(istate)
    7177{
    7278        /* On real hardware this returns the instruction pointer. */
     
    7581}
    7682
    77 static inline unative_t istate_get_fp(istate_t *istate)
     83NO_TRACE static inline unative_t istate_get_fp(istate_t *istate)
     84    REQUIRES_EXTENT_MUTABLE(istate)
    7885{
    7986        /* On real hardware this returns the frame pointer. */
Note: See TracChangeset for help on using the changeset viewer.