linux/tools/objtool/arch/loongarch/include/arch/cfi_regs.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef _OBJTOOL_ARCH_CFI_REGS_H
#define _OBJTOOL_ARCH_CFI_REGS_H

#define CFI_RA		1
#define CFI_SP		3
#define CFI_A0		4
#define CFI_FP		22
#define CFI_S0		23
#define CFI_S1		24
#define CFI_S2		25
#define CFI_S3		26
#define CFI_S4		27
#define CFI_S5		28
#define CFI_S6		29
#define CFI_S7		30
#define CFI_S8		31
#define CFI_NUM_REGS	32

#define CFI_BP		CFI_FP

#endif /* _OBJTOOL_ARCH_CFI_REGS_H */