summaryrefslogtreecommitdiff
path: root/libcpu/aarch64/common/backtrace.h
blob: b34601da58f1df866676646e769318943ae6ac1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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__*/