RegisterContextLinux_mips.h revision 355940
1128710Sru//===-- RegisterContextLinux_mips.h ---------------------------*- C++ -*-===//
2128710Sru//
3128710Sru// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4128710Sru// See https://llvm.org/LICENSE.txt for license information.
5128710Sru// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6128710Sru//
7128710Sru//===----------------------------------------------------------------------===//
8128710Sru
9128710Sru#ifndef liblldb_RegisterContextLinux_mips_H_
10128710Sru#define liblldb_RegisterContextLinux_mips_H_
11128710Sru
12128710Sru#include "RegisterInfoInterface.h"
13128710Sru#include "lldb/lldb-private.h"
14128710Sru
15128710Sruclass RegisterContextLinux_mips : public lldb_private::RegisterInfoInterface {
16128710Srupublic:
1743561Skato  RegisterContextLinux_mips(const lldb_private::ArchSpec &target_arch,
18243448Snyan                            bool msa_present = true);
19243448Snyan
20128710Sru  size_t GetGPRSize() const override;
21128710Sru
22128710Sru  const lldb_private::RegisterInfo *GetRegisterInfo() const override;
23128710Sru
2443561Skato  const lldb_private::RegisterSet *GetRegisterSet(size_t set) const;
25128710Sru
26128710Sru  size_t GetRegisterSetCount() const;
27128710Sru
2843561Skato  uint32_t GetRegisterCount() const override;
2943561Skato
3043561Skato  uint32_t GetUserRegisterCount() const override;
3143561Skato
3258871Skatoprivate:
33128710Sru  uint32_t m_user_register_count;
34128710Sru};
35128710Sru
3643561Skato#endif
3743561Skato