diff options
| author | Shell <[email protected]> | 2022-12-20 17:49:37 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-20 17:49:37 +0800 |
| commit | e8504c7cf1d03c07608e2197eaef728a6aecde7a (patch) | |
| tree | 744bbacef2efbd8afbf04cc63e4d287b38ebcc65 /libcpu/aarch64/common/backtrace.h | |
| parent | f0ef8ada33833942684a6280314160de8c355302 (diff) | |
[smart/aarch64] code sync (#6750)
* [smart/aarch64] sync aarch64
Diffstat (limited to 'libcpu/aarch64/common/backtrace.h')
| -rw-r--r-- | libcpu/aarch64/common/backtrace.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libcpu/aarch64/common/backtrace.h b/libcpu/aarch64/common/backtrace.h new file mode 100644 index 0000000000..b34601da58 --- /dev/null +++ b/libcpu/aarch64/common/backtrace.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + * 2022-06-02 Jesven the first version + */ + +#ifndef __BACKTRACE_H__ +#define __BACKTRACE_H__ + +struct bt_frame +{ + unsigned long fp; + unsigned long pc; +}; + +void backtrace(unsigned long pc, unsigned long lr, unsigned long fp); + +#endif /*__BACKTRACE_H__*/ |
