Upload Tizen:Base source
[external/binutils.git] / include / gdb / sim-m32c.h
1 /* This file defines the interface between the m32c simulator and gdb.
2    Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011
3    Free Software Foundation, Inc.
4
5    This file is part of GDB.
6
7    This program is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 3 of the License, or
10    (at your option) any later version.
11
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19
20 #ifndef SIM_M32C_H
21 #define SIM_M32C_H
22
23 enum m32c_sim_reg {
24   m32c_sim_reg_r0_bank0,
25   m32c_sim_reg_r1_bank0,
26   m32c_sim_reg_r2_bank0,
27   m32c_sim_reg_r3_bank0,
28   m32c_sim_reg_a0_bank0,
29   m32c_sim_reg_a1_bank0,
30   m32c_sim_reg_fb_bank0,
31   m32c_sim_reg_sb_bank0,
32   m32c_sim_reg_r0_bank1,
33   m32c_sim_reg_r1_bank1,
34   m32c_sim_reg_r2_bank1,
35   m32c_sim_reg_r3_bank1,
36   m32c_sim_reg_a0_bank1,
37   m32c_sim_reg_a1_bank1,
38   m32c_sim_reg_fb_bank1,
39   m32c_sim_reg_sb_bank1,
40   m32c_sim_reg_usp,
41   m32c_sim_reg_isp,
42   m32c_sim_reg_pc,
43   m32c_sim_reg_intb,
44   m32c_sim_reg_flg,
45   m32c_sim_reg_svf,
46   m32c_sim_reg_svp,
47   m32c_sim_reg_vct,
48   m32c_sim_reg_dmd0,
49   m32c_sim_reg_dmd1,
50   m32c_sim_reg_dct0,
51   m32c_sim_reg_dct1,
52   m32c_sim_reg_drc0,
53   m32c_sim_reg_drc1,
54   m32c_sim_reg_dma0,
55   m32c_sim_reg_dma1,
56   m32c_sim_reg_dsa0,
57   m32c_sim_reg_dsa1,
58   m32c_sim_reg_dra0,
59   m32c_sim_reg_dra1,
60   m32c_sim_reg_num_regs
61 };
62
63 #endif /* SIM_M32C_H */