Ignore:
Timestamp:
2010-06-25T14:49:42Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
decfbe56
Parents:
33c4f72
Message:

add and improve annotations

File:
1 edited

Legend:

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

    r33c4f72 rfc81981  
    5454
    5555static inline int istate_from_uspace(istate_t *istate)
     56    REQUIRES_EXTENT_MUTABLE(istate)
    5657{
    5758        /* On real hardware this checks whether the interrupted
     
    6263
    6364static inline void istate_set_retaddr(istate_t *istate, uintptr_t retaddr)
     65    WRITES(&istate->ip)
    6466{
    6567        /* On real hardware this sets the instruction pointer. */
     
    6971
    7072static inline unative_t istate_get_pc(istate_t *istate)
     73    REQUIRES_EXTENT_MUTABLE(istate)
    7174{
    7275        /* On real hardware this returns the instruction pointer. */
     
    7679
    7780static inline unative_t istate_get_fp(istate_t *istate)
     81    REQUIRES_EXTENT_MUTABLE(istate)
    7882{
    7983        /* On real hardware this returns the frame pointer. */
Note: See TracChangeset for help on using the changeset viewer.