sim-aarch64.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* sim-aarch64.h --- interface between AArch64 simulator and GDB.
  2. Copyright (C) 2015-2022 Free Software Foundation, Inc.
  3. Contributed by Red Hat.
  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. #if !defined (SIM_AARCH64_H)
  16. #define SIM_AARCH64_H
  17. enum sim_aarch64_regnum
  18. {
  19. SIM_AARCH64_R0_REGNUM,
  20. SIM_AARCH64_R1_REGNUM,
  21. SIM_AARCH64_R2_REGNUM,
  22. SIM_AARCH64_R3_REGNUM,
  23. SIM_AARCH64_R4_REGNUM,
  24. SIM_AARCH64_R5_REGNUM,
  25. SIM_AARCH64_R6_REGNUM,
  26. SIM_AARCH64_R7_REGNUM,
  27. SIM_AARCH64_R8_REGNUM,
  28. SIM_AARCH64_R9_REGNUM,
  29. SIM_AARCH64_R10_REGNUM,
  30. SIM_AARCH64_R11_REGNUM,
  31. SIM_AARCH64_R12_REGNUM,
  32. SIM_AARCH64_R13_REGNUM,
  33. SIM_AARCH64_R14_REGNUM,
  34. SIM_AARCH64_R15_REGNUM,
  35. SIM_AARCH64_SP_REGNUM,
  36. SIM_AARCH64_PC_REGNUM,
  37. SIM_AARCH64_NUM_REGS
  38. };
  39. #endif