GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Functions
aarch64-scalable-linux-ptrace.h File Reference
#include <signal.h>
#include <sys/utsname.h>
#include <sys/ptrace.h>
#include <asm/ptrace.h>
#include <stdarg.h>
#include "aarch64-scalable-linux-sigcontext.h"

Go to the source code of this file.

Macros

#define HAS_SVE_STATE(header)   ((header).flags & SVE_PT_REGS_SVE)
 

Functions

bool aarch64_has_sve_state (int tid)
 
bool aarch64_has_ssve_state (int tid)
 
bool aarch64_has_za_state (int tid)
 
bool read_sve_header (int tid, struct user_sve_header &header)
 
bool write_sve_header (int tid, const struct user_sve_header &header)
 
bool read_ssve_header (int tid, struct user_sve_header &header)
 
bool write_ssve_header (int tid, const struct user_sve_header &header)
 
bool read_za_header (int tid, struct user_za_header &header)
 
bool write_za_header (int tid, const struct user_za_header &header)
 
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)
 
uint64_t aarch64_za_get_svq (int tid)
 
bool aarch64_za_set_svq (int tid, uint64_t vq)
 
bool aarch64_za_set_svq (int tid, const struct reg_buffer_common *reg_buf, int svg_regnum)
 
gdb::byte_vector aarch64_fetch_sve_regset (int tid)
 
void aarch64_store_sve_regset (int tid, const gdb::byte_vector &sve_state)
 
gdb::byte_vector aarch64_fetch_za_regset (int tid)
 
void aarch64_store_za_regset (int tid, const gdb::byte_vector &za_state)
 
void aarch64_initialize_za_regset (int tid)
 
gdb::byte_vector aarch64_fetch_zt_regset (int tid)
 
void aarch64_store_zt_regset (int tid, const gdb::byte_vector &zt_state)
 
bool supports_zt_registers (int tid)
 
void aarch64_sve_regs_copy_to_reg_buf (int tid, struct reg_buffer_common *reg_buf)
 
void aarch64_sve_regs_copy_from_reg_buf (int tid, struct reg_buffer_common *reg_buf)
 
void aarch64_za_regs_copy_to_reg_buf (int tid, struct reg_buffer_common *reg_buf, int za_regnum, int svg_regnum, int svcr_regnum)
 
void aarch64_za_regs_copy_from_reg_buf (int tid, struct reg_buffer_common *reg_buf, int za_regnum, int svg_regnum, int svcr_regnum)
 
void aarch64_zt_regs_copy_to_reg_buf (int tid, struct reg_buffer_common *reg_buf, int zt_regnum)
 
void aarch64_zt_regs_copy_from_reg_buf (int tid, struct reg_buffer_common *reg_buf, int zt_regnum)
 

Macro Definition Documentation

◆ HAS_SVE_STATE

#define HAS_SVE_STATE ( header)    ((header).flags & SVE_PT_REGS_SVE)

Function Documentation

◆ aarch64_fetch_sve_regset()

gdb::byte_vector aarch64_fetch_sve_regset ( int tid)
extern

◆ aarch64_fetch_za_regset()

gdb::byte_vector aarch64_fetch_za_regset ( int tid)
extern

◆ aarch64_fetch_zt_regset()

gdb::byte_vector aarch64_fetch_zt_regset ( int tid)
extern

◆ aarch64_has_ssve_state()

bool aarch64_has_ssve_state ( int tid)

◆ aarch64_has_sve_state()

bool aarch64_has_sve_state ( int tid)

◆ aarch64_has_za_state()

bool aarch64_has_za_state ( int tid)

◆ aarch64_initialize_za_regset()

void aarch64_initialize_za_regset ( int tid)
extern

◆ aarch64_store_sve_regset()

void aarch64_store_sve_regset ( int tid,
const gdb::byte_vector & sve_state )
extern

◆ aarch64_store_za_regset()

void aarch64_store_za_regset ( int tid,
const gdb::byte_vector & za_state )
extern

Definition at line 480 of file aarch64-scalable-linux-ptrace.c.

References ptrace, and PTRACE_SETREGSET.

Referenced by aarch64_za_regs_copy_from_reg_buf().

◆ aarch64_store_zt_regset()

void aarch64_store_zt_regset ( int tid,
const gdb::byte_vector & zt_state )
extern

◆ 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 ( int tid,
struct reg_buffer_common * reg_buf )
extern

◆ aarch64_sve_regs_copy_to_reg_buf()

void aarch64_sve_regs_copy_to_reg_buf ( int tid,
struct reg_buffer_common * reg_buf )
extern

◆ aarch64_sve_set_vq() [1/2]

bool aarch64_sve_set_vq ( int tid,
struct reg_buffer_common * reg_buf )

◆ aarch64_sve_set_vq() [2/2]

bool aarch64_sve_set_vq ( int tid,
uint64_t vq )

◆ aarch64_za_get_svq()

uint64_t aarch64_za_get_svq ( int tid)

◆ aarch64_za_regs_copy_from_reg_buf()

void aarch64_za_regs_copy_from_reg_buf ( int tid,
struct reg_buffer_common * reg_buf,
int za_regnum,
int svg_regnum,
int svcr_regnum )
extern

◆ aarch64_za_regs_copy_to_reg_buf()

void aarch64_za_regs_copy_to_reg_buf ( int tid,
struct reg_buffer_common * reg_buf,
int za_regnum,
int svg_regnum,
int svcr_regnum )
extern

◆ aarch64_za_set_svq() [1/2]

bool aarch64_za_set_svq ( int tid,
const struct reg_buffer_common * reg_buf,
int svg_regnum )

◆ aarch64_za_set_svq() [2/2]

bool aarch64_za_set_svq ( int tid,
uint64_t vq )

◆ aarch64_zt_regs_copy_from_reg_buf()

void aarch64_zt_regs_copy_from_reg_buf ( int tid,
struct reg_buffer_common * reg_buf,
int zt_regnum )
extern

◆ aarch64_zt_regs_copy_to_reg_buf()

void aarch64_zt_regs_copy_to_reg_buf ( int tid,
struct reg_buffer_common * reg_buf,
int zt_regnum )
extern

◆ read_ssve_header()

bool read_ssve_header ( int tid,
struct user_sve_header & header )

Definition at line 125 of file aarch64-scalable-linux-ptrace.c.

References ptrace, and PTRACE_GETREGSET.

Referenced by aarch64_has_ssve_state().

◆ read_sve_header()

bool read_sve_header ( int tid,
struct user_sve_header & header )

Definition at line 89 of file aarch64-scalable-linux-ptrace.c.

References ptrace, and PTRACE_GETREGSET.

Referenced by aarch64_has_sve_state().

◆ read_za_header()

bool read_za_header ( int tid,
struct user_za_header & header )

◆ supports_zt_registers()

bool supports_zt_registers ( int tid)
extern

◆ write_ssve_header()

bool write_ssve_header ( int tid,
const struct user_sve_header & header )

Definition at line 143 of file aarch64-scalable-linux-ptrace.c.

References ptrace, and PTRACE_SETREGSET.

◆ write_sve_header()

bool write_sve_header ( int tid,
const struct user_sve_header & header )

Definition at line 107 of file aarch64-scalable-linux-ptrace.c.

References ptrace, and PTRACE_SETREGSET.

◆ write_za_header()

bool write_za_header ( int tid,
const struct user_za_header & header )

Definition at line 179 of file aarch64-scalable-linux-ptrace.c.

References ptrace, and PTRACE_SETREGSET.