SyterKit
0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
include
arch
arm32
stdlib.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0+ */
2
3
#ifndef __STDLIB_H__
4
#define __STDLIB_H__
5
15
#define MAKE_THUMB_ADDR(pc) \
16
do { (pc) = (void *) ((uint32_t) (pc) | 0x1); } while (0)
17
36
int
backtrace
(
char
*PC,
long
*SP,
char
*LR);
37
52
int
dump_stack
(
void
);
53
54
#endif
// __STDLIB_H__
backtrace
int backtrace(char *PC, long *SP, char *LR)
Perform a backtrace to find the call stack.
Definition
backtrace.c:1168
dump_stack
int dump_stack(void)
Dumps the current stack state and performs a backtrace.
Definition
backtrace.c:1219
Generated by
1.9.8