1 //===-- RegisterContextFreeBSD_arm64.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_RegisterContextFreeBSD_arm64_H_
11 #define liblldb_RegisterContextFreeBSD_arm64_H_
13 #include "RegisterInfoInterface.h"
15 class RegisterContextFreeBSD_arm64:
16 public lldb_private::RegisterInfoInterface
19 // based on RegisterContextDarwin_arm64.h
22 uint64_t x[29]; // x0-x28
27 uint32_t cpsr; // cpsr
30 // based on RegisterContextDarwin_arm64.h
36 // based on RegisterContextDarwin_arm64.h
44 // based on RegisterContextDarwin_arm64.h
47 uint64_t far; // Virtual Fault Address
48 uint32_t esr; // Exception syndrome
49 uint32_t exception; // number of arm exception token
52 // based on RegisterContextDarwin_arm64.h
62 RegisterContextFreeBSD_arm64(const lldb_private::ArchSpec &target_arch);
65 GetGPRSize() const override;
67 const lldb_private::RegisterInfo *
68 GetRegisterInfo() const override;
71 GetRegisterCount () const override;
74 const lldb_private::RegisterInfo *m_register_info_p;
75 uint32_t m_register_info_count;