Ignore:
File:
1 edited

Legend:

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

    rd99c1d2 re837f30  
    3737
    3838#include <typedefs.h>
     39#include <verify.h>
    3940
    4041#define IVT_ITEMS  0
     
    5455
    5556static inline int istate_from_uspace(istate_t *istate)
     57    REQUIRES_EXTENT_MUTABLE(istate)
    5658{
    5759        /* On real hardware this checks whether the interrupted
     
    6264
    6365static inline void istate_set_retaddr(istate_t *istate, uintptr_t retaddr)
     66    WRITES(&istate->ip)
    6467{
    6568        /* On real hardware this sets the instruction pointer. */
     
    6972
    7073static inline unative_t istate_get_pc(istate_t *istate)
     74    REQUIRES_EXTENT_MUTABLE(istate)
    7175{
    7276        /* On real hardware this returns the instruction pointer. */
     
    7680
    7781static inline unative_t istate_get_fp(istate_t *istate)
     82    REQUIRES_EXTENT_MUTABLE(istate)
    7883{
    7984        /* On real hardware this returns the frame pointer. */
Note: See TracChangeset for help on using the changeset viewer.