]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbserver/linux-ppc-tdesc-init.h
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdbserver / linux-ppc-tdesc-init.h
CommitLineData
a2174ba4
MK
1/* Low level support for ppc, shared between gdbserver and IPA.
2
1d506c26 3 Copyright (C) 2016-2024 Free Software Foundation, Inc.
a2174ba4
MK
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
1a5c2598
TT
20#ifndef GDBSERVER_LINUX_PPC_TDESC_INIT_H
21#define GDBSERVER_LINUX_PPC_TDESC_INIT_H
22
a2174ba4
MK
23/* Note: since IPA obviously knows what ABI it's running on (32 vs 64),
24 it's sufficient to pass only the register set here. This, together with
25 the ABI known at IPA compile time, maps to a tdesc. */
26
27enum ppc_linux_tdesc {
28 PPC_TDESC_BASE,
29 PPC_TDESC_ALTIVEC,
abf516c6 30 PPC_TDESC_CELL, /* No longer used, but kept to avoid ABI changes. */
a2174ba4
MK
31 PPC_TDESC_VSX,
32 PPC_TDESC_ISA205,
33 PPC_TDESC_ISA205_ALTIVEC,
34 PPC_TDESC_ISA205_VSX,
7ca18ed6 35 PPC_TDESC_ISA205_PPR_DSCR_VSX,
f2cf6173 36 PPC_TDESC_ISA207_VSX,
8d619c01 37 PPC_TDESC_ISA207_HTM_VSX,
a2174ba4
MK
38 PPC_TDESC_E500,
39};
40
41#if !defined __powerpc64__ || !defined IN_PROCESS_AGENT
42
43/* Defined in auto-generated file powerpc-32l.c. */
44void init_registers_powerpc_32l (void);
a2174ba4
MK
45
46/* Defined in auto-generated file powerpc-altivec32l.c. */
47void init_registers_powerpc_altivec32l (void);
a2174ba4 48
a2174ba4
MK
49/* Defined in auto-generated file powerpc-vsx32l.c. */
50void init_registers_powerpc_vsx32l (void);
a2174ba4
MK
51
52/* Defined in auto-generated file powerpc-isa205-32l.c. */
53void init_registers_powerpc_isa205_32l (void);
a2174ba4
MK
54
55/* Defined in auto-generated file powerpc-isa205-altivec32l.c. */
56void init_registers_powerpc_isa205_altivec32l (void);
a2174ba4
MK
57
58/* Defined in auto-generated file powerpc-isa205-vsx32l.c. */
59void init_registers_powerpc_isa205_vsx32l (void);
a2174ba4 60
7ca18ed6
EBM
61/* Defined in auto-generated file powerpc-isa205-ppr-dscr-vsx32l.c. */
62void init_registers_powerpc_isa205_ppr_dscr_vsx32l (void);
63
f2cf6173
EBM
64/* Defined in auto-generated file powerpc-isa207-vsx32l.c. */
65void init_registers_powerpc_isa207_vsx32l (void);
66
8d619c01
EBM
67/* Defined in auto-generated file powerpc-isa207-htm-vsx32l.c. */
68void init_registers_powerpc_isa207_htm_vsx32l (void);
69
a2174ba4
MK
70/* Defined in auto-generated file powerpc-e500l.c. */
71void init_registers_powerpc_e500l (void);
a2174ba4
MK
72
73#endif
74
75#if defined __powerpc64__
76
77/* Defined in auto-generated file powerpc-64l.c. */
78void init_registers_powerpc_64l (void);
a2174ba4
MK
79
80/* Defined in auto-generated file powerpc-altivec64l.c. */
81void init_registers_powerpc_altivec64l (void);
a2174ba4 82
a2174ba4
MK
83/* Defined in auto-generated file powerpc-vsx64l.c. */
84void init_registers_powerpc_vsx64l (void);
a2174ba4
MK
85
86/* Defined in auto-generated file powerpc-isa205-64l.c. */
87void init_registers_powerpc_isa205_64l (void);
a2174ba4
MK
88
89/* Defined in auto-generated file powerpc-isa205-altivec64l.c. */
90void init_registers_powerpc_isa205_altivec64l (void);
a2174ba4
MK
91
92/* Defined in auto-generated file powerpc-isa205-vsx64l.c. */
93void init_registers_powerpc_isa205_vsx64l (void);
a2174ba4 94
7ca18ed6
EBM
95/* Defined in auto-generated file powerpc-isa205-ppr-dscr-vsx64l.c. */
96void init_registers_powerpc_isa205_ppr_dscr_vsx64l (void);
97
f2cf6173
EBM
98/* Defined in auto-generated file powerpc-isa207-vsx64l.c. */
99void init_registers_powerpc_isa207_vsx64l (void);
100
8d619c01
EBM
101/* Defined in auto-generated file powerpc-isa207-htm-vsx64l.c. */
102void init_registers_powerpc_isa207_htm_vsx64l (void);
103
a2174ba4 104#endif
1a5c2598
TT
105
106#endif /* GDBSERVER_LINUX_PPC_TDESC_INIT_H */