1 //===-- RegisterContextFreeBSD_powerpc.h -------------------------*- C++
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTFREEBSD_POWERPC_H
11 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTFREEBSD_POWERPC_H
13 #include "RegisterInfoInterface.h"
15 class RegisterContextFreeBSD_powerpc
16 : public lldb_private::RegisterInfoInterface
{
18 RegisterContextFreeBSD_powerpc(const lldb_private::ArchSpec
&target_arch
);
19 ~RegisterContextFreeBSD_powerpc() override
;
21 size_t GetGPRSize() const override
;
23 const lldb_private::RegisterInfo
*GetRegisterInfo() const override
;
25 uint32_t GetRegisterCount() const override
;
28 class RegisterContextFreeBSD_powerpc32
: public RegisterContextFreeBSD_powerpc
{
30 RegisterContextFreeBSD_powerpc32(const lldb_private::ArchSpec
&target_arch
);
31 ~RegisterContextFreeBSD_powerpc32() override
;
33 size_t GetGPRSize() const override
;
35 const lldb_private::RegisterInfo
*GetRegisterInfo() const override
;
37 uint32_t GetRegisterCount() const override
;
40 class RegisterContextFreeBSD_powerpc64
: public RegisterContextFreeBSD_powerpc
{
42 RegisterContextFreeBSD_powerpc64(const lldb_private::ArchSpec
&target_arch
);
43 ~RegisterContextFreeBSD_powerpc64() override
;
45 size_t GetGPRSize() const override
;
47 const lldb_private::RegisterInfo
*GetRegisterInfo() const override
;
49 uint32_t GetRegisterCount() const override
;
52 #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTFREEBSD_POWERPC_H