1 //===-- RegisterContextLinux_mips.h ---------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_RegisterContextLinux_mips_H_
11 #define liblldb_RegisterContextLinux_mips_H_
13 #include "RegisterInfoInterface.h"
14 #include "lldb/lldb-private.h"
16 class RegisterContextLinux_mips : public lldb_private::RegisterInfoInterface {
18 RegisterContextLinux_mips(const lldb_private::ArchSpec &target_arch,
19 bool msa_present = true);
21 size_t GetGPRSize() const override;
23 const lldb_private::RegisterInfo *GetRegisterInfo() const override;
25 const lldb_private::RegisterSet *GetRegisterSet(size_t set) const;
27 size_t GetRegisterSetCount() const;
29 uint32_t GetRegisterCount() const override;
31 uint32_t GetUserRegisterCount() const override;
34 uint32_t m_user_register_count;