1 //===-- RegisterContextLinux_mips.h ---------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef liblldb_RegisterContextLinux_mips_H_
11 #define liblldb_RegisterContextLinux_mips_H_
12 
13 #include "lldb/lldb-private.h"
14 #include "RegisterInfoInterface.h"
15 
16 class RegisterContextLinux_mips
17     : public lldb_private::RegisterInfoInterface
18 {
19 public:
20     RegisterContextLinux_mips(const lldb_private::ArchSpec &target_arch, bool msa_present = true);
21 
22     size_t
23     GetGPRSize() const override;
24 
25     const lldb_private::RegisterInfo *
26     GetRegisterInfo() const override;
27 
28     uint32_t
29     GetRegisterCount () const override;
30 
31     uint32_t
32     GetUserRegisterCount () const override;
33 
34 private:
35     uint32_t m_user_register_count;
36 };
37 
38 #endif
39