Changes in kernel/generic/include/stacktrace.h [257ceb1:da1bafb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/stacktrace.h
r257ceb1 rda1bafb 42 42 43 43 typedef struct { 44 uintptr_t fp; 45 uintptr_t pc; 46 struct istate *istate; 47 } stack_trace_context_t; 48 49 typedef struct { 50 bool (* stack_trace_context_validate)(stack_trace_context_t *); 51 bool (* frame_pointer_prev)(stack_trace_context_t *, uintptr_t *); 52 bool (* return_address_get)(stack_trace_context_t *, uintptr_t *); 44 bool (* frame_pointer_validate)(uintptr_t); 45 bool (* frame_pointer_prev)(uintptr_t, uintptr_t *); 46 bool (* return_address_get)(uintptr_t, uintptr_t *); 53 47 bool (* symbol_resolve)(uintptr_t, const char **, uintptr_t *); 54 48 } stack_trace_ops_t; … … 59 53 extern void stack_trace(void); 60 54 extern void stack_trace_istate(struct istate *); 61 extern void stack_trace_ ctx(stack_trace_ops_t *, stack_trace_context_t *);55 extern void stack_trace_fp_pc(stack_trace_ops_t *, uintptr_t, uintptr_t); 62 56 63 57 /* … … 67 61 extern uintptr_t program_counter_get(void); 68 62 69 extern bool kernel_ stack_trace_context_validate(stack_trace_context_t *);70 extern bool kernel_frame_pointer_prev( stack_trace_context_t *, uintptr_t *);71 extern bool kernel_return_address_get( stack_trace_context_t *, uintptr_t *);63 extern bool kernel_frame_pointer_validate(uintptr_t); 64 extern bool kernel_frame_pointer_prev(uintptr_t, uintptr_t *); 65 extern bool kernel_return_address_get(uintptr_t, uintptr_t *); 72 66 73 extern bool uspace_ stack_trace_context_validate(stack_trace_context_t *);74 extern bool uspace_frame_pointer_prev( stack_trace_context_t *, uintptr_t *);75 extern bool uspace_return_address_get( stack_trace_context_t *, uintptr_t *);67 extern bool uspace_frame_pointer_validate(uintptr_t); 68 extern bool uspace_frame_pointer_prev(uintptr_t, uintptr_t *); 69 extern bool uspace_return_address_get(uintptr_t, uintptr_t *); 76 70 77 71 #endif
Note:
See TracChangeset
for help on using the changeset viewer.