Back to index

cell-binutils  2.17cvs20070401
sim-arm.h
Go to the documentation of this file.
00001 /* This file defines the interface between the Arm simulator and GDB.
00002 
00003    Copyright 2002, 2003, 2007 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
00010    modify it under the terms of the GNU General Public License as
00011    published by the Free Software Foundation; either version 2 of the
00012    License, or (at your option) any later version.
00013 
00014    This program is distributed in the hope that it will be useful, but
00015    WITHOUT ANY WARRANTY; without even the implied warranty of
00016    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017    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, write to the Free Software
00021    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00022    02111-1307, USA.  */
00023 
00024 #if !defined (SIM_ARM_H)
00025 #define SIM_ARM_H
00026 
00027 #ifdef __cplusplus
00028 extern "C" { // }
00029 #endif
00030 
00031 enum sim_arm_regs
00032 {
00033   SIM_ARM_R0_REGNUM,
00034   SIM_ARM_R1_REGNUM,
00035   SIM_ARM_R2_REGNUM,
00036   SIM_ARM_R3_REGNUM,
00037   SIM_ARM_R4_REGNUM,
00038   SIM_ARM_R5_REGNUM,
00039   SIM_ARM_R6_REGNUM,
00040   SIM_ARM_R7_REGNUM,
00041   SIM_ARM_R8_REGNUM,
00042   SIM_ARM_R9_REGNUM,
00043   SIM_ARM_R10_REGNUM,
00044   SIM_ARM_R11_REGNUM,
00045   SIM_ARM_R12_REGNUM,
00046   SIM_ARM_R13_REGNUM,
00047   SIM_ARM_R14_REGNUM,
00048   SIM_ARM_R15_REGNUM, /* PC */
00049   SIM_ARM_FP0_REGNUM,
00050   SIM_ARM_FP1_REGNUM,
00051   SIM_ARM_FP2_REGNUM,
00052   SIM_ARM_FP3_REGNUM,
00053   SIM_ARM_FP4_REGNUM,
00054   SIM_ARM_FP5_REGNUM,
00055   SIM_ARM_FP6_REGNUM,
00056   SIM_ARM_FP7_REGNUM,
00057   SIM_ARM_FPS_REGNUM,
00058   SIM_ARM_PS_REGNUM,
00059   SIM_ARM_MAVERIC_COP0R0_REGNUM,
00060   SIM_ARM_MAVERIC_COP0R1_REGNUM,
00061   SIM_ARM_MAVERIC_COP0R2_REGNUM,
00062   SIM_ARM_MAVERIC_COP0R3_REGNUM,
00063   SIM_ARM_MAVERIC_COP0R4_REGNUM,
00064   SIM_ARM_MAVERIC_COP0R5_REGNUM,
00065   SIM_ARM_MAVERIC_COP0R6_REGNUM,
00066   SIM_ARM_MAVERIC_COP0R7_REGNUM,
00067   SIM_ARM_MAVERIC_COP0R8_REGNUM,
00068   SIM_ARM_MAVERIC_COP0R9_REGNUM,
00069   SIM_ARM_MAVERIC_COP0R10_REGNUM,
00070   SIM_ARM_MAVERIC_COP0R11_REGNUM,
00071   SIM_ARM_MAVERIC_COP0R12_REGNUM,
00072   SIM_ARM_MAVERIC_COP0R13_REGNUM,
00073   SIM_ARM_MAVERIC_COP0R14_REGNUM,
00074   SIM_ARM_MAVERIC_COP0R15_REGNUM,
00075   SIM_ARM_MAVERIC_DSPSC_REGNUM,
00076   SIM_ARM_IWMMXT_COP0R0_REGNUM,
00077   SIM_ARM_IWMMXT_COP0R1_REGNUM,
00078   SIM_ARM_IWMMXT_COP0R2_REGNUM,
00079   SIM_ARM_IWMMXT_COP0R3_REGNUM,
00080   SIM_ARM_IWMMXT_COP0R4_REGNUM,
00081   SIM_ARM_IWMMXT_COP0R5_REGNUM,
00082   SIM_ARM_IWMMXT_COP0R6_REGNUM,
00083   SIM_ARM_IWMMXT_COP0R7_REGNUM,
00084   SIM_ARM_IWMMXT_COP0R8_REGNUM,
00085   SIM_ARM_IWMMXT_COP0R9_REGNUM,
00086   SIM_ARM_IWMMXT_COP0R10_REGNUM,
00087   SIM_ARM_IWMMXT_COP0R11_REGNUM,
00088   SIM_ARM_IWMMXT_COP0R12_REGNUM,
00089   SIM_ARM_IWMMXT_COP0R13_REGNUM,
00090   SIM_ARM_IWMMXT_COP0R14_REGNUM,
00091   SIM_ARM_IWMMXT_COP0R15_REGNUM,
00092   SIM_ARM_IWMMXT_COP1R0_REGNUM,
00093   SIM_ARM_IWMMXT_COP1R1_REGNUM,
00094   SIM_ARM_IWMMXT_COP1R2_REGNUM,
00095   SIM_ARM_IWMMXT_COP1R3_REGNUM,
00096   SIM_ARM_IWMMXT_COP1R4_REGNUM,
00097   SIM_ARM_IWMMXT_COP1R5_REGNUM,
00098   SIM_ARM_IWMMXT_COP1R6_REGNUM,
00099   SIM_ARM_IWMMXT_COP1R7_REGNUM,
00100   SIM_ARM_IWMMXT_COP1R8_REGNUM,
00101   SIM_ARM_IWMMXT_COP1R9_REGNUM,
00102   SIM_ARM_IWMMXT_COP1R10_REGNUM,
00103   SIM_ARM_IWMMXT_COP1R11_REGNUM,
00104   SIM_ARM_IWMMXT_COP1R12_REGNUM,
00105   SIM_ARM_IWMMXT_COP1R13_REGNUM,
00106   SIM_ARM_IWMMXT_COP1R14_REGNUM,
00107   SIM_ARM_IWMMXT_COP1R15_REGNUM
00108 };
00109 
00110 #ifdef __cplusplus
00111 }
00112 #endif
00113 
00114 #endif