Import binutils 2.18
[nacl-binutils.git] / include / gdb / sim-arm.h
blob0b8ac99092a502f115c36d4e7f24d4adea259072
1 /* This file defines the interface between the Arm simulator and GDB.
3 Copyright 2002, 2003, 2007 Free Software Foundation, Inc.
5 Contributed by Red Hat.
7 This file is part of GDB.
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version.
14 This program is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 02111-1307, USA. */
24 #if !defined (SIM_ARM_H)
25 #define SIM_ARM_H
27 #ifdef __cplusplus
28 extern "C" { // }
29 #endif
31 enum sim_arm_regs
33 SIM_ARM_R0_REGNUM,
34 SIM_ARM_R1_REGNUM,
35 SIM_ARM_R2_REGNUM,
36 SIM_ARM_R3_REGNUM,
37 SIM_ARM_R4_REGNUM,
38 SIM_ARM_R5_REGNUM,
39 SIM_ARM_R6_REGNUM,
40 SIM_ARM_R7_REGNUM,
41 SIM_ARM_R8_REGNUM,
42 SIM_ARM_R9_REGNUM,
43 SIM_ARM_R10_REGNUM,
44 SIM_ARM_R11_REGNUM,
45 SIM_ARM_R12_REGNUM,
46 SIM_ARM_R13_REGNUM,
47 SIM_ARM_R14_REGNUM,
48 SIM_ARM_R15_REGNUM, /* PC */
49 SIM_ARM_FP0_REGNUM,
50 SIM_ARM_FP1_REGNUM,
51 SIM_ARM_FP2_REGNUM,
52 SIM_ARM_FP3_REGNUM,
53 SIM_ARM_FP4_REGNUM,
54 SIM_ARM_FP5_REGNUM,
55 SIM_ARM_FP6_REGNUM,
56 SIM_ARM_FP7_REGNUM,
57 SIM_ARM_FPS_REGNUM,
58 SIM_ARM_PS_REGNUM,
59 SIM_ARM_MAVERIC_COP0R0_REGNUM,
60 SIM_ARM_MAVERIC_COP0R1_REGNUM,
61 SIM_ARM_MAVERIC_COP0R2_REGNUM,
62 SIM_ARM_MAVERIC_COP0R3_REGNUM,
63 SIM_ARM_MAVERIC_COP0R4_REGNUM,
64 SIM_ARM_MAVERIC_COP0R5_REGNUM,
65 SIM_ARM_MAVERIC_COP0R6_REGNUM,
66 SIM_ARM_MAVERIC_COP0R7_REGNUM,
67 SIM_ARM_MAVERIC_COP0R8_REGNUM,
68 SIM_ARM_MAVERIC_COP0R9_REGNUM,
69 SIM_ARM_MAVERIC_COP0R10_REGNUM,
70 SIM_ARM_MAVERIC_COP0R11_REGNUM,
71 SIM_ARM_MAVERIC_COP0R12_REGNUM,
72 SIM_ARM_MAVERIC_COP0R13_REGNUM,
73 SIM_ARM_MAVERIC_COP0R14_REGNUM,
74 SIM_ARM_MAVERIC_COP0R15_REGNUM,
75 SIM_ARM_MAVERIC_DSPSC_REGNUM,
76 SIM_ARM_IWMMXT_COP0R0_REGNUM,
77 SIM_ARM_IWMMXT_COP0R1_REGNUM,
78 SIM_ARM_IWMMXT_COP0R2_REGNUM,
79 SIM_ARM_IWMMXT_COP0R3_REGNUM,
80 SIM_ARM_IWMMXT_COP0R4_REGNUM,
81 SIM_ARM_IWMMXT_COP0R5_REGNUM,
82 SIM_ARM_IWMMXT_COP0R6_REGNUM,
83 SIM_ARM_IWMMXT_COP0R7_REGNUM,
84 SIM_ARM_IWMMXT_COP0R8_REGNUM,
85 SIM_ARM_IWMMXT_COP0R9_REGNUM,
86 SIM_ARM_IWMMXT_COP0R10_REGNUM,
87 SIM_ARM_IWMMXT_COP0R11_REGNUM,
88 SIM_ARM_IWMMXT_COP0R12_REGNUM,
89 SIM_ARM_IWMMXT_COP0R13_REGNUM,
90 SIM_ARM_IWMMXT_COP0R14_REGNUM,
91 SIM_ARM_IWMMXT_COP0R15_REGNUM,
92 SIM_ARM_IWMMXT_COP1R0_REGNUM,
93 SIM_ARM_IWMMXT_COP1R1_REGNUM,
94 SIM_ARM_IWMMXT_COP1R2_REGNUM,
95 SIM_ARM_IWMMXT_COP1R3_REGNUM,
96 SIM_ARM_IWMMXT_COP1R4_REGNUM,
97 SIM_ARM_IWMMXT_COP1R5_REGNUM,
98 SIM_ARM_IWMMXT_COP1R6_REGNUM,
99 SIM_ARM_IWMMXT_COP1R7_REGNUM,
100 SIM_ARM_IWMMXT_COP1R8_REGNUM,
101 SIM_ARM_IWMMXT_COP1R9_REGNUM,
102 SIM_ARM_IWMMXT_COP1R10_REGNUM,
103 SIM_ARM_IWMMXT_COP1R11_REGNUM,
104 SIM_ARM_IWMMXT_COP1R12_REGNUM,
105 SIM_ARM_IWMMXT_COP1R13_REGNUM,
106 SIM_ARM_IWMMXT_COP1R14_REGNUM,
107 SIM_ARM_IWMMXT_COP1R15_REGNUM
110 #ifdef __cplusplus
112 #endif
114 #endif