GDBserver
Loading...
Searching...
No Matches
Functions
aarch64-sve-linux-ptrace.c File Reference
#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)
 

Function Documentation

◆ aarch64_maybe_swab128()

static void aarch64_maybe_swab128 ( gdb_byte *  dst,
const gdb_byte *  src,
size_t  size 
)
static

◆ aarch64_sve_get_sveregs()

std::unique_ptr< gdb_byte[]> aarch64_sve_get_sveregs ( int  tid)

◆ aarch64_sve_get_vq()

uint64_t aarch64_sve_get_vq ( int  tid)

◆ aarch64_sve_regs_copy_from_reg_buf()

void aarch64_sve_regs_copy_from_reg_buf ( const struct reg_buffer_common *  reg_buf,
void *  buf 
)

◆ aarch64_sve_regs_copy_to_reg_buf()

void aarch64_sve_regs_copy_to_reg_buf ( struct reg_buffer_common *  reg_buf,
const void *  buf 
)

◆ aarch64_sve_set_vq() [1/2]

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().

◆ aarch64_sve_set_vq() [2/2]

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().