Ignore:
Timestamp:
2019-02-11T14:56:26Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4805495
Parents:
391996b
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-01 23:26:21)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-11 14:56:26)
Message:

Rename NO_TRACE to _NO_TRACE

<trace.h> may end up transitively included from standard headers,
so it needs to be a reserved identifier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/arch/istate.h

    r391996b r8df5f20  
    4747
    4848/** Return true if exception happened while in userspace */
    49 NO_TRACE static inline int istate_from_uspace(istate_t *istate)
     49_NO_TRACE static inline int istate_from_uspace(istate_t *istate)
    5050{
    5151        return (istate->cs & RPL_USER) == RPL_USER;
    5252}
    5353
    54 NO_TRACE static inline void istate_set_retaddr(istate_t *istate,
     54_NO_TRACE static inline void istate_set_retaddr(istate_t *istate,
    5555    uintptr_t retaddr)
    5656{
     
    5858}
    5959
    60 NO_TRACE static inline uintptr_t istate_get_pc(istate_t *istate)
     60_NO_TRACE static inline uintptr_t istate_get_pc(istate_t *istate)
    6161{
    6262        return istate->rip;
    6363}
    6464
    65 NO_TRACE static inline uintptr_t istate_get_fp(istate_t *istate)
     65_NO_TRACE static inline uintptr_t istate_get_fp(istate_t *istate)
    6666{
    6767        return istate->rbp;
Note: See TracChangeset for help on using the changeset viewer.