Lines Matching full:frame
27 * This structure stores the backtrace information of a particular stack frame
29 * xtensa_cpu_get_next_backtrace_frame() function to traverse each frame
31 * frame's caller, thus a next_pc of 0 indicates that the current frame
32 * is the last frame on the stack.
38 uint32_t pc; /* PC of the current frame */
39 uint32_t sp; /* SP of the current frame */
40 uint32_t next_pc; /* PC of the current frame's caller */
44 * Get the first frame of the current stack's backtrace
55 * @param[out] pc PC of the first frame in the backtrace
56 * @param[out] sp SP of the first frame in the backtrace
57 * @param[out] next_pc PC of the first frame's caller
66 * @brief Get the next frame on a stack for backtracing
68 * Given a stack frame(i), this function will obtain the next
69 * stack frame(i-1) on the same call stack (i.e. the caller of frame(i)).
72 * Entry Conditions: Frame structure containing valid SP and next_pc
74 * - Frame structure updated with SP and PC of frame(i-1).
75 * next_pc now points to frame(i-2).
76 * - If a next_pc of 0 is returned, it indicates that frame(i-1)
77 * is last frame on the stack
79 * @param[inout] frame Pointer to frame structure
82 * - True if the SP and PC of the next frame(i-1) are sane
85 bool xtensa_backtrace_get_next_frame(struct xtensa_backtrace_frame_t *frame);