Back to index

cell-binutils  2.17cvs20070401
sim-m32c.h
Go to the documentation of this file.
00001 /* This file defines the interface between the m32c simulator and gdb.
00002    Copyright (C) 2005, 2007 Free Software Foundation, Inc.
00003 
00004 This file is part of GDB.
00005 
00006 This program is free software; you can redistribute it and/or modify
00007 it under the terms of the GNU General Public License as published by
00008 the Free Software Foundation; either version 2 of the License, or
00009 (at your option) any later version.
00010 
00011 This program is distributed in the hope that it will be useful,
00012 but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 GNU General Public License for more details.
00015 
00016 You should have received a copy of the GNU General Public License
00017 along with this program; if not, write to the Free Software
00018 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
00019 
00020 #ifndef SIM_M32C_H
00021 #define SIM_M32C_H
00022 
00023 enum m32c_sim_reg {
00024   m32c_sim_reg_r0_bank0,
00025   m32c_sim_reg_r1_bank0,
00026   m32c_sim_reg_r2_bank0,
00027   m32c_sim_reg_r3_bank0,
00028   m32c_sim_reg_a0_bank0,
00029   m32c_sim_reg_a1_bank0,
00030   m32c_sim_reg_fb_bank0,
00031   m32c_sim_reg_sb_bank0,
00032   m32c_sim_reg_r0_bank1,
00033   m32c_sim_reg_r1_bank1,
00034   m32c_sim_reg_r2_bank1,
00035   m32c_sim_reg_r3_bank1,
00036   m32c_sim_reg_a0_bank1,
00037   m32c_sim_reg_a1_bank1,
00038   m32c_sim_reg_fb_bank1,
00039   m32c_sim_reg_sb_bank1,
00040   m32c_sim_reg_usp,
00041   m32c_sim_reg_isp,
00042   m32c_sim_reg_pc,
00043   m32c_sim_reg_intb,
00044   m32c_sim_reg_flg,
00045   m32c_sim_reg_svf,
00046   m32c_sim_reg_svp,
00047   m32c_sim_reg_vct,
00048   m32c_sim_reg_dmd0,
00049   m32c_sim_reg_dmd1,
00050   m32c_sim_reg_dct0,
00051   m32c_sim_reg_dct1,
00052   m32c_sim_reg_drc0,
00053   m32c_sim_reg_drc1,
00054   m32c_sim_reg_dma0,
00055   m32c_sim_reg_dma1,
00056   m32c_sim_reg_dsa0,
00057   m32c_sim_reg_dsa1,
00058   m32c_sim_reg_dra0,
00059   m32c_sim_reg_dra1,
00060   m32c_sim_reg_num_regs
00061 };
00062 
00063 #endif /* SIM_M32C_H */