1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
| //===-- lldb-s390x-register-enums.h -----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef lldb_s390x_register_enums_h
#define lldb_s390x_register_enums_h
namespace lldb_private {
// LLDB register codes (e.g. RegisterKind == eRegisterKindLLDB)
// Internal codes for all s390x registers.
enum {
k_first_gpr_s390x,
lldb_r0_s390x = k_first_gpr_s390x,
lldb_r1_s390x,
lldb_r2_s390x,
lldb_r3_s390x,
lldb_r4_s390x,
lldb_r5_s390x,
lldb_r6_s390x,
lldb_r7_s390x,
lldb_r8_s390x,
lldb_r9_s390x,
lldb_r10_s390x,
lldb_r11_s390x,
lldb_r12_s390x,
lldb_r13_s390x,
lldb_r14_s390x,
lldb_r15_s390x,
lldb_acr0_s390x,
lldb_acr1_s390x,
lldb_acr2_s390x,
lldb_acr3_s390x,
lldb_acr4_s390x,
lldb_acr5_s390x,
lldb_acr6_s390x,
lldb_acr7_s390x,
lldb_acr8_s390x,
lldb_acr9_s390x,
lldb_acr10_s390x,
lldb_acr11_s390x,
lldb_acr12_s390x,
lldb_acr13_s390x,
lldb_acr14_s390x,
lldb_acr15_s390x,
lldb_pswm_s390x,
lldb_pswa_s390x,
k_last_gpr_s390x = lldb_pswa_s390x,
k_first_fpr_s390x,
lldb_f0_s390x = k_first_fpr_s390x,
lldb_f1_s390x,
lldb_f2_s390x,
lldb_f3_s390x,
lldb_f4_s390x,
lldb_f5_s390x,
lldb_f6_s390x,
lldb_f7_s390x,
lldb_f8_s390x,
lldb_f9_s390x,
lldb_f10_s390x,
lldb_f11_s390x,
lldb_f12_s390x,
lldb_f13_s390x,
lldb_f14_s390x,
lldb_f15_s390x,
lldb_fpc_s390x,
k_last_fpr_s390x = lldb_fpc_s390x,
// These are only available on Linux.
k_first_linux_s390x,
lldb_orig_r2_s390x = k_first_linux_s390x,
lldb_last_break_s390x,
lldb_system_call_s390x,
k_last_linux_s390x = lldb_system_call_s390x,
k_num_registers_s390x,
k_num_gpr_registers_s390x = k_last_gpr_s390x - k_first_gpr_s390x + 1,
k_num_fpr_registers_s390x = k_last_fpr_s390x - k_first_fpr_s390x + 1,
k_num_linux_registers_s390x = k_last_linux_s390x - k_first_linux_s390x + 1,
k_num_user_registers_s390x =
k_num_gpr_registers_s390x + k_num_fpr_registers_s390x,
};
}
#endif // #ifndef lldb_s390x_register_enums_h
|