1//===-- lldb-mips-freebsd-register-enums.h ----------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_MIPS_FREEBSD_REGISTER_ENUMS_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_MIPS_FREEBSD_REGISTER_ENUMS_H
11
12namespace lldb_private {
13// LLDB register codes (e.g. RegisterKind == eRegisterKindLLDB)
14
15// Internal codes for all mips registers.
16enum {
17 k_first_gpr_mips64,
18 gpr_zero_mips64 = k_first_gpr_mips64,
19 gpr_r1_mips64,
20 gpr_r2_mips64,
21 gpr_r3_mips64,
22 gpr_r4_mips64,
23 gpr_r5_mips64,
24 gpr_r6_mips64,
25 gpr_r7_mips64,
26 gpr_r8_mips64,
27 gpr_r9_mips64,
28 gpr_r10_mips64,
29 gpr_r11_mips64,
30 gpr_r12_mips64,
31 gpr_r13_mips64,
32 gpr_r14_mips64,
33 gpr_r15_mips64,
34 gpr_r16_mips64,
35 gpr_r17_mips64,
36 gpr_r18_mips64,
37 gpr_r19_mips64,
38 gpr_r20_mips64,
39 gpr_r21_mips64,
40 gpr_r22_mips64,
41 gpr_r23_mips64,
42 gpr_r24_mips64,
43 gpr_r25_mips64,
44 gpr_r26_mips64,
45 gpr_r27_mips64,
46 gpr_gp_mips64,
47 gpr_sp_mips64,
48 gpr_r30_mips64,
49 gpr_ra_mips64,
50 gpr_sr_mips64,
51 gpr_mullo_mips64,
52 gpr_mulhi_mips64,
53 gpr_badvaddr_mips64,
54 gpr_cause_mips64,
55 gpr_pc_mips64,
56 gpr_ic_mips64,
57 gpr_dummy_mips64,
58 k_last_gpr_mips64 = gpr_dummy_mips64,
59
60 k_first_fpr_mips64,
61 fpr_f0_mips64 = k_first_fpr_mips64,
62 fpr_f1_mips64,
63 fpr_f2_mips64,
64 fpr_f3_mips64,
65 fpr_f4_mips64,
66 fpr_f5_mips64,
67 fpr_f6_mips64,
68 fpr_f7_mips64,
69 fpr_f8_mips64,
70 fpr_f9_mips64,
71 fpr_f10_mips64,
72 fpr_f11_mips64,
73 fpr_f12_mips64,
74 fpr_f13_mips64,
75 fpr_f14_mips64,
76 fpr_f15_mips64,
77 fpr_f16_mips64,
78 fpr_f17_mips64,
79 fpr_f18_mips64,
80 fpr_f19_mips64,
81 fpr_f20_mips64,
82 fpr_f21_mips64,
83 fpr_f22_mips64,
84 fpr_f23_mips64,
85 fpr_f24_mips64,
86 fpr_f25_mips64,
87 fpr_f26_mips64,
88 fpr_f27_mips64,
89 fpr_f28_mips64,
90 fpr_f29_mips64,
91 fpr_f30_mips64,
92 fpr_f31_mips64,
93 fpr_fcsr_mips64,
94 fpr_fir_mips64,
95 k_last_fpr_mips64 = fpr_fir_mips64,
96
97 k_num_registers_mips64,
98
99 k_num_gpr_registers_mips64 = k_last_gpr_mips64 - k_first_gpr_mips64 + 1,
100 k_num_fpr_registers_mips64 = k_last_fpr_mips64 - k_first_fpr_mips64 + 1,
101};
102} // namespace lldb_private
103#endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_MIPS_FREEBSD_REGISTER_ENUMS_H
104

source code of lldb/source/Plugins/Process/Utility/lldb-mips-freebsd-register-enums.h