summaryrefslogtreecommitdiffstats
path: root/tools/objtool/arch/x86/include/cfi_regs.h
blob: 79bc517efba85cfee6530cda7af0d853712c941a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef _OBJTOOL_CFI_REGS_H
#define _OBJTOOL_CFI_REGS_H

#define CFI_AX			0
#define CFI_DX			1
#define CFI_CX			2
#define CFI_BX			3
#define CFI_SI			4
#define CFI_DI			5
#define CFI_BP			6
#define CFI_SP			7
#define CFI_R8			8
#define CFI_R9			9
#define CFI_R10			10
#define CFI_R11			11
#define CFI_R12			12
#define CFI_R13			13
#define CFI_R14			14
#define CFI_R15			15
#define CFI_RA			16
#define CFI_NUM_REGS		17

#endif /* _OBJTOOL_CFI_REGS_H */