]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/aarch32-linux-nat.h
Normalize include guards in gdb
[thirdparty/binutils-gdb.git] / gdb / aarch32-linux-nat.h
1 /* Copyright (C) 1999-2019 Free Software Foundation, Inc.
2
3 This file is part of GDB.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17
18 #ifndef AARCH32_LINUX_NAT_H
19 #define AARCH32_LINUX_NAT_H
20
21 /* Fetch and store VFP Registers. The kernel object has space for 32
22 64-bit registers, and the FPSCR. This is even when on a VFPv2 or
23 VFPv3D16 target. */
24 #define VFP_REGS_SIZE (32 * 8 + 4)
25
26 void aarch32_gp_regcache_supply (struct regcache *regcache, uint32_t *regs,
27 int arm_apcs_32);
28
29 void aarch32_gp_regcache_collect (const struct regcache *regcache,
30 uint32_t *regs, int arm_apcs_32);
31
32 void aarch32_vfp_regcache_supply (struct regcache *regcache, gdb_byte *regs,
33 const int vfp_register_count);
34
35 void aarch32_vfp_regcache_collect (const struct regcache *regcache,
36 gdb_byte *regs,
37 const int vfp_register_count);
38
39 #endif /* AARCH32_LINUX_NAT_H */