GDBserver
|
#include <sys/utsname.h>
#include <sys/uio.h>
#include "gdbsupport/common-defs.h"
#include "elf/external.h"
#include "elf/common.h"
#include "aarch64-sve-linux-ptrace.h"
#include "arch/aarch64.h"
#include "gdbsupport/common-regcache.h"
#include "gdbsupport/byte-vector.h"
#include <endian.h>
Go to the source code of this file.
Functions | |
uint64_t | aarch64_sve_get_vq (int tid) |
bool | aarch64_sve_set_vq (int tid, uint64_t vq) |
bool | aarch64_sve_set_vq (int tid, struct reg_buffer_common *reg_buf) |
std::unique_ptr< gdb_byte[]> | aarch64_sve_get_sveregs (int tid) |
static void | aarch64_maybe_swab128 (gdb_byte *dst, const gdb_byte *src, size_t size) |
void | aarch64_sve_regs_copy_to_reg_buf (struct reg_buffer_common *reg_buf, const void *buf) |
void | aarch64_sve_regs_copy_from_reg_buf (const struct reg_buffer_common *reg_buf, void *buf) |
|
static |
Definition at line 151 of file aarch64-sve-linux-ptrace.c.
Referenced by aarch64_sve_regs_copy_from_reg_buf(), and aarch64_sve_regs_copy_to_reg_buf().
std::unique_ptr< gdb_byte[]> aarch64_sve_get_sveregs | ( | int | tid | ) |
Definition at line 123 of file aarch64-sve-linux-ptrace.c.
References aarch64_sve_get_vq(), ptrace, PTRACE_GETREGSET, SVE_PT_REGS_SVE, and SVE_PT_SIZE.
uint64_t aarch64_sve_get_vq | ( | int | tid | ) |
Definition at line 34 of file aarch64-sve-linux-ptrace.c.
References ptrace, PTRACE_GETREGSET, sve_vl_valid, and user_sve_header::vl.
Referenced by aarch64_sve_get_sveregs(), and aarch64_sve_set_vq().
void aarch64_sve_regs_copy_from_reg_buf | ( | const struct reg_buffer_common * | reg_buf, |
void * | buf | ||
) |
Definition at line 256 of file aarch64-sve-linux-ptrace.c.
References aarch64_maybe_swab128(), user_sve_header::flags, HAS_SVE_STATE, user_sve_header::size, SVE_PT_FPSIMD_OFFSET, SVE_PT_REGS_SVE, SVE_PT_SIZE, SVE_PT_SVE_FFR_OFFSET, SVE_PT_SVE_FPCR_OFFSET, SVE_PT_SVE_FPSR_OFFSET, SVE_PT_SVE_PREG_OFFSET, SVE_PT_SVE_ZREG_OFFSET, SVE_PT_SVE_ZREG_SIZE, sve_vl_valid, and user_sve_header::vl.
void aarch64_sve_regs_copy_to_reg_buf | ( | struct reg_buffer_common * | reg_buf, |
const void * | buf | ||
) |
Definition at line 167 of file aarch64-sve-linux-ptrace.c.
References aarch64_maybe_swab128(), user_sve_header::flags, HAS_SVE_STATE, user_sve_header::size, SVE_PT_FPSIMD_OFFSET, SVE_PT_SIZE, SVE_PT_SVE_FFR_OFFSET, SVE_PT_SVE_FPCR_OFFSET, SVE_PT_SVE_FPSR_OFFSET, SVE_PT_SVE_PREG_OFFSET, SVE_PT_SVE_ZREG_OFFSET, SVE_PT_SVE_ZREG_SIZE, sve_vl_valid, and user_sve_header::vl.
bool aarch64_sve_set_vq | ( | int | tid, |
struct reg_buffer_common * | reg_buf | ||
) |
Definition at line 94 of file aarch64-sve-linux-ptrace.c.
References aarch64_sve_get_vq(), and aarch64_sve_set_vq().
bool aarch64_sve_set_vq | ( | int | tid, |
uint64_t | vq | ||
) |
Definition at line 66 of file aarch64-sve-linux-ptrace.c.
References ptrace, PTRACE_GETREGSET, PTRACE_SETREGSET, and user_sve_header::vl.
Referenced by aarch64_sve_set_vq().