1 /* Copyright (C) 1999-2019 Free Software Foundation, Inc.
3 This file is part of GDB.
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.
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.
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/>. */
18 #ifndef AARCH32_LINUX_NAT_H
19 #define AARCH32_LINUX_NAT_H
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
24 #define VFP_REGS_SIZE (32 * 8 + 4)
26 void aarch32_gp_regcache_supply (struct regcache *regcache, uint32_t *regs,
29 void aarch32_gp_regcache_collect (const struct regcache *regcache,
30 uint32_t *regs, int arm_apcs_32);
32 void aarch32_vfp_regcache_supply (struct regcache *regcache, gdb_byte *regs,
33 const int vfp_register_count);
35 void aarch32_vfp_regcache_collect (const struct regcache *regcache,
37 const int vfp_register_count);
39 #endif /* AARCH32_LINUX_NAT_H */