xref: /netbsd-src/external/gpl3/binutils/dist/include/sim/sim-lm32.h (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
1*cb63e24eSchristos /* This file defines the interface between the LM32 simulator and GDB.
2*cb63e24eSchristos    Contributed by Jon Beniston <jon@beniston.com>
3*cb63e24eSchristos 
4*cb63e24eSchristos    Copyright (C) 2009-2024 Free Software Foundation, Inc.
5*cb63e24eSchristos 
6*cb63e24eSchristos    This file is part of GDB.
7*cb63e24eSchristos 
8*cb63e24eSchristos    This program is free software; you can redistribute it and/or modify
9*cb63e24eSchristos    it under the terms of the GNU General Public License as published by
10*cb63e24eSchristos    the Free Software Foundation; either version 3 of the License, or
11*cb63e24eSchristos    (at your option) any later version.
12*cb63e24eSchristos 
13*cb63e24eSchristos    This program is distributed in the hope that it will be useful,
14*cb63e24eSchristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
15*cb63e24eSchristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*cb63e24eSchristos    GNU General Public License for more details.
17*cb63e24eSchristos 
18*cb63e24eSchristos    You should have received a copy of the GNU General Public License
19*cb63e24eSchristos    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20*cb63e24eSchristos 
21*cb63e24eSchristos #ifndef SIM_LM32_H
22*cb63e24eSchristos #define SIM_LM32_H
23*cb63e24eSchristos 
24*cb63e24eSchristos enum sim_lm32_regs
25*cb63e24eSchristos {
26*cb63e24eSchristos   SIM_LM32_R0_REGNUM,
27*cb63e24eSchristos   SIM_LM32_R1_REGNUM,
28*cb63e24eSchristos   SIM_LM32_R2_REGNUM,
29*cb63e24eSchristos   SIM_LM32_R3_REGNUM,
30*cb63e24eSchristos   SIM_LM32_R4_REGNUM,
31*cb63e24eSchristos   SIM_LM32_R5_REGNUM,
32*cb63e24eSchristos   SIM_LM32_R6_REGNUM,
33*cb63e24eSchristos   SIM_LM32_R7_REGNUM,
34*cb63e24eSchristos   SIM_LM32_R8_REGNUM,
35*cb63e24eSchristos   SIM_LM32_R9_REGNUM,
36*cb63e24eSchristos   SIM_LM32_R10_REGNUM,
37*cb63e24eSchristos   SIM_LM32_R11_REGNUM,
38*cb63e24eSchristos   SIM_LM32_R12_REGNUM,
39*cb63e24eSchristos   SIM_LM32_R13_REGNUM,
40*cb63e24eSchristos   SIM_LM32_R14_REGNUM,
41*cb63e24eSchristos   SIM_LM32_R15_REGNUM,
42*cb63e24eSchristos   SIM_LM32_R16_REGNUM,
43*cb63e24eSchristos   SIM_LM32_R17_REGNUM,
44*cb63e24eSchristos   SIM_LM32_R18_REGNUM,
45*cb63e24eSchristos   SIM_LM32_R19_REGNUM,
46*cb63e24eSchristos   SIM_LM32_R20_REGNUM,
47*cb63e24eSchristos   SIM_LM32_R21_REGNUM,
48*cb63e24eSchristos   SIM_LM32_R22_REGNUM,
49*cb63e24eSchristos   SIM_LM32_R23_REGNUM,
50*cb63e24eSchristos   SIM_LM32_R24_REGNUM,
51*cb63e24eSchristos   SIM_LM32_R25_REGNUM,
52*cb63e24eSchristos   SIM_LM32_GP_REGNUM,
53*cb63e24eSchristos   SIM_LM32_FP_REGNUM,
54*cb63e24eSchristos   SIM_LM32_SP_REGNUM,
55*cb63e24eSchristos   SIM_LM32_RA_REGNUM,
56*cb63e24eSchristos   SIM_LM32_BA_REGNUM,
57*cb63e24eSchristos   SIM_LM32_EA_REGNUM,
58*cb63e24eSchristos   SIM_LM32_PC_REGNUM,
59*cb63e24eSchristos   SIM_LM32_EID_REGNUM,
60*cb63e24eSchristos   SIM_LM32_EBA_REGNUM,
61*cb63e24eSchristos   SIM_LM32_DEBA_REGNUM,
62*cb63e24eSchristos   SIM_LM32_IE_REGNUM,
63*cb63e24eSchristos   SIM_LM32_IM_REGNUM,
64*cb63e24eSchristos   SIM_LM32_IP_REGNUM,
65*cb63e24eSchristos   SIM_LM32_NUM_REGS
66*cb63e24eSchristos };
67*cb63e24eSchristos 
68*cb63e24eSchristos #endif
69