1 //===-- RegisterContextLinux_mips64.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 liblldb_RegisterContextLinux_mips64_H_
10 #define liblldb_RegisterContextLinux_mips64_H_
12 #include "RegisterInfoInterface.h"
13 #include "lldb/lldb-private.h"
15 class RegisterContextLinux_mips64 : public lldb_private::RegisterInfoInterface {
17 RegisterContextLinux_mips64(const lldb_private::ArchSpec &target_arch,
18 bool msa_present = true);
20 size_t GetGPRSize() const override;
22 const lldb_private::RegisterInfo *GetRegisterInfo() const override;
24 const lldb_private::RegisterSet *GetRegisterSet(size_t set) const;
26 size_t GetRegisterSetCount() const;
28 uint32_t GetRegisterCount() const override;
30 uint32_t GetUserRegisterCount() const override;
33 const lldb_private::RegisterInfo *m_register_info_p;
34 uint32_t m_register_info_count;
35 uint32_t m_user_register_count;