sim-lm32.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /* This file defines the interface between the LM32 simulator and GDB.
  2. Contributed by Jon Beniston <jon@beniston.com>
  3. Copyright (C) 2009-2022 Free Software Foundation, Inc.
  4. This file is part of GDB.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  15. #ifndef SIM_LM32_H
  16. #define SIM_LM32_H
  17. enum sim_lm32_regs
  18. {
  19. SIM_LM32_R0_REGNUM,
  20. SIM_LM32_R1_REGNUM,
  21. SIM_LM32_R2_REGNUM,
  22. SIM_LM32_R3_REGNUM,
  23. SIM_LM32_R4_REGNUM,
  24. SIM_LM32_R5_REGNUM,
  25. SIM_LM32_R6_REGNUM,
  26. SIM_LM32_R7_REGNUM,
  27. SIM_LM32_R8_REGNUM,
  28. SIM_LM32_R9_REGNUM,
  29. SIM_LM32_R10_REGNUM,
  30. SIM_LM32_R11_REGNUM,
  31. SIM_LM32_R12_REGNUM,
  32. SIM_LM32_R13_REGNUM,
  33. SIM_LM32_R14_REGNUM,
  34. SIM_LM32_R15_REGNUM,
  35. SIM_LM32_R16_REGNUM,
  36. SIM_LM32_R17_REGNUM,
  37. SIM_LM32_R18_REGNUM,
  38. SIM_LM32_R19_REGNUM,
  39. SIM_LM32_R20_REGNUM,
  40. SIM_LM32_R21_REGNUM,
  41. SIM_LM32_R22_REGNUM,
  42. SIM_LM32_R23_REGNUM,
  43. SIM_LM32_R24_REGNUM,
  44. SIM_LM32_R25_REGNUM,
  45. SIM_LM32_GP_REGNUM,
  46. SIM_LM32_FP_REGNUM,
  47. SIM_LM32_SP_REGNUM,
  48. SIM_LM32_RA_REGNUM,
  49. SIM_LM32_BA_REGNUM,
  50. SIM_LM32_EA_REGNUM,
  51. SIM_LM32_PC_REGNUM,
  52. SIM_LM32_EID_REGNUM,
  53. SIM_LM32_EBA_REGNUM,
  54. SIM_LM32_DEBA_REGNUM,
  55. SIM_LM32_IE_REGNUM,
  56. SIM_LM32_IM_REGNUM,
  57. SIM_LM32_IP_REGNUM,
  58. SIM_LM32_NUM_REGS
  59. };
  60. #endif