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