GDB (API)
|
00001 /* This file defines the interface between the Arm simulator and GDB. 00002 00003 Copyright 2002-2013 Free Software Foundation, Inc. 00004 00005 Contributed by Red Hat. 00006 00007 This file is part of GDB. 00008 00009 This program is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation; either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00021 00022 #if !defined (SIM_ARM_H) 00023 #define SIM_ARM_H 00024 00025 #ifdef __cplusplus 00026 extern "C" { // } 00027 #endif 00028 00029 enum sim_arm_regs 00030 { 00031 SIM_ARM_R0_REGNUM, 00032 SIM_ARM_R1_REGNUM, 00033 SIM_ARM_R2_REGNUM, 00034 SIM_ARM_R3_REGNUM, 00035 SIM_ARM_R4_REGNUM, 00036 SIM_ARM_R5_REGNUM, 00037 SIM_ARM_R6_REGNUM, 00038 SIM_ARM_R7_REGNUM, 00039 SIM_ARM_R8_REGNUM, 00040 SIM_ARM_R9_REGNUM, 00041 SIM_ARM_R10_REGNUM, 00042 SIM_ARM_R11_REGNUM, 00043 SIM_ARM_R12_REGNUM, 00044 SIM_ARM_R13_REGNUM, 00045 SIM_ARM_R14_REGNUM, 00046 SIM_ARM_R15_REGNUM, /* PC */ 00047 SIM_ARM_FP0_REGNUM, 00048 SIM_ARM_FP1_REGNUM, 00049 SIM_ARM_FP2_REGNUM, 00050 SIM_ARM_FP3_REGNUM, 00051 SIM_ARM_FP4_REGNUM, 00052 SIM_ARM_FP5_REGNUM, 00053 SIM_ARM_FP6_REGNUM, 00054 SIM_ARM_FP7_REGNUM, 00055 SIM_ARM_FPS_REGNUM, 00056 SIM_ARM_PS_REGNUM, 00057 SIM_ARM_MAVERIC_COP0R0_REGNUM, 00058 SIM_ARM_MAVERIC_COP0R1_REGNUM, 00059 SIM_ARM_MAVERIC_COP0R2_REGNUM, 00060 SIM_ARM_MAVERIC_COP0R3_REGNUM, 00061 SIM_ARM_MAVERIC_COP0R4_REGNUM, 00062 SIM_ARM_MAVERIC_COP0R5_REGNUM, 00063 SIM_ARM_MAVERIC_COP0R6_REGNUM, 00064 SIM_ARM_MAVERIC_COP0R7_REGNUM, 00065 SIM_ARM_MAVERIC_COP0R8_REGNUM, 00066 SIM_ARM_MAVERIC_COP0R9_REGNUM, 00067 SIM_ARM_MAVERIC_COP0R10_REGNUM, 00068 SIM_ARM_MAVERIC_COP0R11_REGNUM, 00069 SIM_ARM_MAVERIC_COP0R12_REGNUM, 00070 SIM_ARM_MAVERIC_COP0R13_REGNUM, 00071 SIM_ARM_MAVERIC_COP0R14_REGNUM, 00072 SIM_ARM_MAVERIC_COP0R15_REGNUM, 00073 SIM_ARM_MAVERIC_DSPSC_REGNUM, 00074 SIM_ARM_IWMMXT_COP0R0_REGNUM, 00075 SIM_ARM_IWMMXT_COP0R1_REGNUM, 00076 SIM_ARM_IWMMXT_COP0R2_REGNUM, 00077 SIM_ARM_IWMMXT_COP0R3_REGNUM, 00078 SIM_ARM_IWMMXT_COP0R4_REGNUM, 00079 SIM_ARM_IWMMXT_COP0R5_REGNUM, 00080 SIM_ARM_IWMMXT_COP0R6_REGNUM, 00081 SIM_ARM_IWMMXT_COP0R7_REGNUM, 00082 SIM_ARM_IWMMXT_COP0R8_REGNUM, 00083 SIM_ARM_IWMMXT_COP0R9_REGNUM, 00084 SIM_ARM_IWMMXT_COP0R10_REGNUM, 00085 SIM_ARM_IWMMXT_COP0R11_REGNUM, 00086 SIM_ARM_IWMMXT_COP0R12_REGNUM, 00087 SIM_ARM_IWMMXT_COP0R13_REGNUM, 00088 SIM_ARM_IWMMXT_COP0R14_REGNUM, 00089 SIM_ARM_IWMMXT_COP0R15_REGNUM, 00090 SIM_ARM_IWMMXT_COP1R0_REGNUM, 00091 SIM_ARM_IWMMXT_COP1R1_REGNUM, 00092 SIM_ARM_IWMMXT_COP1R2_REGNUM, 00093 SIM_ARM_IWMMXT_COP1R3_REGNUM, 00094 SIM_ARM_IWMMXT_COP1R4_REGNUM, 00095 SIM_ARM_IWMMXT_COP1R5_REGNUM, 00096 SIM_ARM_IWMMXT_COP1R6_REGNUM, 00097 SIM_ARM_IWMMXT_COP1R7_REGNUM, 00098 SIM_ARM_IWMMXT_COP1R8_REGNUM, 00099 SIM_ARM_IWMMXT_COP1R9_REGNUM, 00100 SIM_ARM_IWMMXT_COP1R10_REGNUM, 00101 SIM_ARM_IWMMXT_COP1R11_REGNUM, 00102 SIM_ARM_IWMMXT_COP1R12_REGNUM, 00103 SIM_ARM_IWMMXT_COP1R13_REGNUM, 00104 SIM_ARM_IWMMXT_COP1R14_REGNUM, 00105 SIM_ARM_IWMMXT_COP1R15_REGNUM 00106 }; 00107 00108 #ifdef __cplusplus 00109 } 00110 #endif 00111 00112 #endif