Add FreeBSD/arm architecture.
[deliverable/binutils-gdb.git] / gdb / arm-fbsd-tdep.h
1 /* FreeBSD/arm target support, prototypes.
2
3 Copyright (C) 2017 Free Software Foundation, Inc.
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
20 #include "regset.h"
21
22 /* The general-purpose regset consists of 13 R registers, plus SP, LR,
23 PC, and CPSR registers. */
24 #define ARM_FBSD_SIZEOF_GREGSET (17 * 4)
25
26 /* The VFP regset consists of 32 D registers plus FPSCR, and the whole
27 structure is padded to 64-bit alignment. */
28 #define ARM_FBSD_SIZEOF_VFPREGSET (33 * 8)
29
30 extern const struct regset arm_fbsd_gregset;
31 extern const struct regset arm_fbsd_vfpregset;
32
33 /* Flags passed in AT_HWCAP. */
34 #define HWCAP_VFP 0x00000040
35 #define HWCAP_NEON 0x00001000
36 #define HWCAP_VFPv3 0x00002000
37 #define HWCAP_VFPD32 0x00080000
38
39 extern const struct target_desc *
40 arm_fbsd_read_description_auxv (struct target_ops *target);
This page took 0.041458 seconds and 5 git commands to generate.