| 1 | /* sim-aarch64.h --- interface between AArch64 simulator and GDB. |
| 2 | |
| 3 | Copyright (C) 2015-2020 Free Software Foundation, Inc. |
| 4 | |
| 5 | Contributed by Red Hat. |
| 6 | |
| 7 | This file is part of GDB. |
| 8 | |
| 9 | This program is free software; you can redistribute it and/or modify |
| 10 | it under the terms of the GNU General Public License as published by |
| 11 | the Free Software Foundation; either version 3 of the License, or |
| 12 | (at your option) any later version. |
| 13 | |
| 14 | This program is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | GNU General Public License for more details. |
| 18 | |
| 19 | You should have received a copy of the GNU General Public License |
| 20 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 21 | |
| 22 | #if !defined (SIM_AARCH64_H) |
| 23 | #define SIM_AARCH64_H |
| 24 | |
| 25 | enum sim_aarch64_regnum |
| 26 | { |
| 27 | SIM_AARCH64_R0_REGNUM, |
| 28 | SIM_AARCH64_R1_REGNUM, |
| 29 | SIM_AARCH64_R2_REGNUM, |
| 30 | SIM_AARCH64_R3_REGNUM, |
| 31 | SIM_AARCH64_R4_REGNUM, |
| 32 | SIM_AARCH64_R5_REGNUM, |
| 33 | SIM_AARCH64_R6_REGNUM, |
| 34 | SIM_AARCH64_R7_REGNUM, |
| 35 | SIM_AARCH64_R8_REGNUM, |
| 36 | SIM_AARCH64_R9_REGNUM, |
| 37 | SIM_AARCH64_R10_REGNUM, |
| 38 | SIM_AARCH64_R11_REGNUM, |
| 39 | SIM_AARCH64_R12_REGNUM, |
| 40 | SIM_AARCH64_R13_REGNUM, |
| 41 | SIM_AARCH64_R14_REGNUM, |
| 42 | SIM_AARCH64_R15_REGNUM, |
| 43 | SIM_AARCH64_SP_REGNUM, |
| 44 | SIM_AARCH64_PC_REGNUM, |
| 45 | SIM_AARCH64_NUM_REGS |
| 46 | }; |
| 47 | |
| 48 | #endif |