Changeset 1b20da0 in mainline for kernel/arch/mips32/src/debug/stacktrace.c
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/debug/stacktrace.c
rdf6ded8 r1b20da0 36 36 * This stack tracing code is based on the suggested algorithm described on page 37 37 * 3-27 and 3-28 of: 38 * 38 * 39 39 * SYSTEM V 40 40 * APPLICATION BINARY INTERFACE … … 88 88 #define BASE_MASK RS_MASK 89 89 #define IMM_MASK (0xffff << IMM_SHIFT) 90 #define OFFSET_MASK IMM_MASK 90 #define OFFSET_MASK IMM_MASK 91 91 92 92 #define RS_GET(inst) (((inst) & RS_MASK) >> RS_SHIFT) … … 94 94 #define IMM_GET(inst) (int16_t)(((inst) & IMM_MASK) >> IMM_SHIFT) 95 95 #define BASE_GET(inst) RS_GET(inst) 96 #define OFFSET_GET(inst) IMM_GET(inst) 96 #define OFFSET_GET(inst) IMM_GET(inst) 97 97 98 98 #define ADDU_R_SP_R0_TEMPL \
Note:
See TracChangeset
for help on using the changeset viewer.