1 //===-- lldb-s390x-register-enums.h -----------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_S390X_REGISTER_ENUMS_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_S390X_REGISTER_ENUMS_H
12 namespace lldb_private
{
13 // LLDB register codes (e.g. RegisterKind == eRegisterKindLLDB)
15 // Internal codes for all s390x registers.
18 lldb_r0_s390x
= k_first_gpr_s390x
,
52 k_last_gpr_s390x
= lldb_pswa_s390x
,
55 lldb_f0_s390x
= k_first_fpr_s390x
,
72 k_last_fpr_s390x
= lldb_fpc_s390x
,
74 // These are only available on Linux.
76 lldb_orig_r2_s390x
= k_first_linux_s390x
,
77 lldb_last_break_s390x
,
78 lldb_system_call_s390x
,
79 k_last_linux_s390x
= lldb_system_call_s390x
,
81 k_num_registers_s390x
,
82 k_num_gpr_registers_s390x
= k_last_gpr_s390x
- k_first_gpr_s390x
+ 1,
83 k_num_fpr_registers_s390x
= k_last_fpr_s390x
- k_first_fpr_s390x
+ 1,
84 k_num_linux_registers_s390x
= k_last_linux_s390x
- k_first_linux_s390x
+ 1,
85 k_num_user_registers_s390x
=
86 k_num_gpr_registers_s390x
+ k_num_fpr_registers_s390x
,
90 #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_S390X_REGISTER_ENUMS_H