sim-m32c.h 1.7 KB

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