GDB (API)
|
00001 /* This file defines the interface between the LM32 simulator and GDB. 00002 Contributed by Jon Beniston <jon@beniston.com> 00003 00004 Copyright (C) 2009-2013 Free Software Foundation, Inc. 00005 00006 This file is part of GDB. 00007 00008 This program is free software; you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation; either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00020 00021 #ifndef SIM_LM32_H 00022 #define SIM_LM32_H 00023 00024 #ifdef __cplusplus 00025 extern "C" { // } 00026 #endif 00027 00028 enum sim_lm32_regs 00029 { 00030 SIM_LM32_R0_REGNUM, 00031 SIM_LM32_R1_REGNUM, 00032 SIM_LM32_R2_REGNUM, 00033 SIM_LM32_R3_REGNUM, 00034 SIM_LM32_R4_REGNUM, 00035 SIM_LM32_R5_REGNUM, 00036 SIM_LM32_R6_REGNUM, 00037 SIM_LM32_R7_REGNUM, 00038 SIM_LM32_R8_REGNUM, 00039 SIM_LM32_R9_REGNUM, 00040 SIM_LM32_R10_REGNUM, 00041 SIM_LM32_R11_REGNUM, 00042 SIM_LM32_R12_REGNUM, 00043 SIM_LM32_R13_REGNUM, 00044 SIM_LM32_R14_REGNUM, 00045 SIM_LM32_R15_REGNUM, 00046 SIM_LM32_R16_REGNUM, 00047 SIM_LM32_R17_REGNUM, 00048 SIM_LM32_R18_REGNUM, 00049 SIM_LM32_R19_REGNUM, 00050 SIM_LM32_R20_REGNUM, 00051 SIM_LM32_R21_REGNUM, 00052 SIM_LM32_R22_REGNUM, 00053 SIM_LM32_R23_REGNUM, 00054 SIM_LM32_R24_REGNUM, 00055 SIM_LM32_R25_REGNUM, 00056 SIM_LM32_GP_REGNUM, 00057 SIM_LM32_FP_REGNUM, 00058 SIM_LM32_SP_REGNUM, 00059 SIM_LM32_RA_REGNUM, 00060 SIM_LM32_BA_REGNUM, 00061 SIM_LM32_EA_REGNUM, 00062 SIM_LM32_PC_REGNUM, 00063 SIM_LM32_EID_REGNUM, 00064 SIM_LM32_EBA_REGNUM, 00065 SIM_LM32_DEBA_REGNUM, 00066 SIM_LM32_IE_REGNUM, 00067 SIM_LM32_IM_REGNUM, 00068 SIM_LM32_IP_REGNUM, 00069 SIM_LM32_NUM_REGS 00070 }; 00071 00072 #ifdef __cplusplus 00073 } 00074 #endif 00075 00076 #endif