1*02f41505Schristos /* This file defines the interface between the Blackfin simulator and GDB. 2*02f41505Schristos 3*02f41505Schristos Copyright (C) 2005-2024 Free Software Foundation, Inc. 4*02f41505Schristos Contributed by Analog Devices. 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 enum sim_bfin_regnum { 22*02f41505Schristos SIM_BFIN_R0_REGNUM = 0, 23*02f41505Schristos SIM_BFIN_R1_REGNUM, 24*02f41505Schristos SIM_BFIN_R2_REGNUM, 25*02f41505Schristos SIM_BFIN_R3_REGNUM, 26*02f41505Schristos SIM_BFIN_R4_REGNUM, 27*02f41505Schristos SIM_BFIN_R5_REGNUM, 28*02f41505Schristos SIM_BFIN_R6_REGNUM, 29*02f41505Schristos SIM_BFIN_R7_REGNUM, 30*02f41505Schristos SIM_BFIN_P0_REGNUM, 31*02f41505Schristos SIM_BFIN_P1_REGNUM, 32*02f41505Schristos SIM_BFIN_P2_REGNUM, 33*02f41505Schristos SIM_BFIN_P3_REGNUM, 34*02f41505Schristos SIM_BFIN_P4_REGNUM, 35*02f41505Schristos SIM_BFIN_P5_REGNUM, 36*02f41505Schristos SIM_BFIN_SP_REGNUM, 37*02f41505Schristos SIM_BFIN_FP_REGNUM, 38*02f41505Schristos SIM_BFIN_I0_REGNUM, 39*02f41505Schristos SIM_BFIN_I1_REGNUM, 40*02f41505Schristos SIM_BFIN_I2_REGNUM, 41*02f41505Schristos SIM_BFIN_I3_REGNUM, 42*02f41505Schristos SIM_BFIN_M0_REGNUM, 43*02f41505Schristos SIM_BFIN_M1_REGNUM, 44*02f41505Schristos SIM_BFIN_M2_REGNUM, 45*02f41505Schristos SIM_BFIN_M3_REGNUM, 46*02f41505Schristos SIM_BFIN_B0_REGNUM, 47*02f41505Schristos SIM_BFIN_B1_REGNUM, 48*02f41505Schristos SIM_BFIN_B2_REGNUM, 49*02f41505Schristos SIM_BFIN_B3_REGNUM, 50*02f41505Schristos SIM_BFIN_L0_REGNUM, 51*02f41505Schristos SIM_BFIN_L1_REGNUM, 52*02f41505Schristos SIM_BFIN_L2_REGNUM, 53*02f41505Schristos SIM_BFIN_L3_REGNUM, 54*02f41505Schristos SIM_BFIN_A0_DOT_X_REGNUM, 55*02f41505Schristos SIM_BFIN_A0_DOT_W_REGNUM, 56*02f41505Schristos SIM_BFIN_A1_DOT_X_REGNUM, 57*02f41505Schristos SIM_BFIN_A1_DOT_W_REGNUM, 58*02f41505Schristos SIM_BFIN_ASTAT_REGNUM, 59*02f41505Schristos SIM_BFIN_RETS_REGNUM, 60*02f41505Schristos SIM_BFIN_LC0_REGNUM, 61*02f41505Schristos SIM_BFIN_LT0_REGNUM, 62*02f41505Schristos SIM_BFIN_LB0_REGNUM, 63*02f41505Schristos SIM_BFIN_LC1_REGNUM, 64*02f41505Schristos SIM_BFIN_LT1_REGNUM, 65*02f41505Schristos SIM_BFIN_LB1_REGNUM, 66*02f41505Schristos SIM_BFIN_CYCLES_REGNUM, 67*02f41505Schristos SIM_BFIN_CYCLES2_REGNUM, 68*02f41505Schristos SIM_BFIN_USP_REGNUM, 69*02f41505Schristos SIM_BFIN_SEQSTAT_REGNUM, 70*02f41505Schristos SIM_BFIN_SYSCFG_REGNUM, 71*02f41505Schristos SIM_BFIN_RETI_REGNUM, 72*02f41505Schristos SIM_BFIN_RETX_REGNUM, 73*02f41505Schristos SIM_BFIN_RETN_REGNUM, 74*02f41505Schristos SIM_BFIN_RETE_REGNUM, 75*02f41505Schristos SIM_BFIN_PC_REGNUM, 76*02f41505Schristos SIM_BFIN_CC_REGNUM, 77*02f41505Schristos SIM_BFIN_TEXT_ADDR, 78*02f41505Schristos SIM_BFIN_TEXT_END_ADDR, 79*02f41505Schristos SIM_BFIN_DATA_ADDR, 80*02f41505Schristos SIM_BFIN_IPEND_REGNUM 81*02f41505Schristos }; 82*02f41505Schristos 83