OpenOCD
mips64_pracc.c File Reference
Include dependency graph for mips64_pracc.c:

Go to the source code of this file.

Data Structures

struct  mips64_pracc_context
 

Macros

#define STACK_DEPTH   32
 

Functions

int mips64_pracc_exec (struct mips_ejtag *ejtag_info, unsigned code_len, const uint32_t *code, unsigned num_param_in, uint64_t *param_in, unsigned num_param_out, uint64_t *param_out)
 
static int mips64_pracc_exec_read (struct mips64_pracc_context *ctx, uint64_t address)
 
static int mips64_pracc_exec_write (struct mips64_pracc_context *ctx, uint64_t address)
 
int mips64_pracc_fastdata_xfer (struct mips_ejtag *ejtag_info, struct working_area *source, bool write_t, uint64_t addr, unsigned count, uint64_t *buf)
 
int mips64_pracc_read_mem (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned size, unsigned count, void *buf)
 
static int mips64_pracc_read_mem16 (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned count, uint16_t *buf)
 
static int mips64_pracc_read_mem32 (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned count, uint32_t *buf)
 
static int mips64_pracc_read_mem64 (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned count, uint64_t *buf)
 
static int mips64_pracc_read_mem8 (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned count, uint8_t *buf)
 
int mips64_pracc_read_regs (struct mips_ejtag *ejtag_info, uint64_t *regs)
 
static int mips64_pracc_read_u16 (struct mips_ejtag *ejtag_info, uint64_t addr, uint16_t *buf)
 
static int mips64_pracc_read_u32 (struct mips_ejtag *ejtag_info, uint64_t addr, uint32_t *buf)
 
static int mips64_pracc_read_u64 (struct mips_ejtag *ejtag_info, uint64_t addr, uint64_t *buf)
 
static int mips64_pracc_read_u8 (struct mips_ejtag *ejtag_info, uint64_t addr, uint8_t *buf)
 
int mips64_pracc_write_mem (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned size, unsigned count, void *buf)
 
static int mips64_pracc_write_mem16 (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned count, uint16_t *buf)
 
static int mips64_pracc_write_mem32 (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned count, uint32_t *buf)
 
static int mips64_pracc_write_mem64 (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned count, uint64_t *buf)
 
static int mips64_pracc_write_mem8 (struct mips_ejtag *ejtag_info, uint64_t addr, unsigned count, uint8_t *buf)
 
int mips64_pracc_write_regs (struct mips_ejtag *ejtag_info, uint64_t *regs)
 
static int mips64_pracc_write_u16 (struct mips_ejtag *ejtag_info, uint64_t addr, uint16_t *buf)
 
static int mips64_pracc_write_u32 (struct mips_ejtag *ejtag_info, uint64_t addr, uint32_t *buf)
 
static int mips64_pracc_write_u64 (struct mips_ejtag *ejtag_info, uint64_t addr, uint64_t *buf)
 
static int mips64_pracc_write_u8 (struct mips_ejtag *ejtag_info, uint64_t addr, uint8_t *buf)
 
static int wait_for_pracc_rw (struct mips_ejtag *ejtag_info, uint32_t *ctrl)
 

Macro Definition Documentation

◆ STACK_DEPTH

#define STACK_DEPTH   32

Definition at line 26 of file mips64_pracc.c.

Function Documentation

◆ mips64_pracc_exec()

◆ mips64_pracc_exec_read()

◆ mips64_pracc_exec_write()

◆ mips64_pracc_fastdata_xfer()

◆ mips64_pracc_read_mem()

int mips64_pracc_read_mem ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  size,
unsigned  count,
void *  buf 
)

◆ mips64_pracc_read_mem16()

static int mips64_pracc_read_mem16 ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  count,
uint16_t *  buf 
)
static

◆ mips64_pracc_read_mem32()

static int mips64_pracc_read_mem32 ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  count,
uint32_t *  buf 
)
static

◆ mips64_pracc_read_mem64()

static int mips64_pracc_read_mem64 ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  count,
uint64_t *  buf 
)
static

◆ mips64_pracc_read_mem8()

static int mips64_pracc_read_mem8 ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  count,
uint8_t *  buf 
)
static

◆ mips64_pracc_read_regs()

◆ mips64_pracc_read_u16()

◆ mips64_pracc_read_u32()

◆ mips64_pracc_read_u64()

◆ mips64_pracc_read_u8()

◆ mips64_pracc_write_mem()

int mips64_pracc_write_mem ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  size,
unsigned  count,
void *  buf 
)

◆ mips64_pracc_write_mem16()

static int mips64_pracc_write_mem16 ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  count,
uint16_t *  buf 
)
static

◆ mips64_pracc_write_mem32()

static int mips64_pracc_write_mem32 ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  count,
uint32_t *  buf 
)
static

◆ mips64_pracc_write_mem64()

static int mips64_pracc_write_mem64 ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  count,
uint64_t *  buf 
)
static

◆ mips64_pracc_write_mem8()

static int mips64_pracc_write_mem8 ( struct mips_ejtag ejtag_info,
uint64_t  addr,
unsigned  count,
uint8_t *  buf 
)
static

◆ mips64_pracc_write_regs()

◆ mips64_pracc_write_u16()

static int mips64_pracc_write_u16 ( struct mips_ejtag ejtag_info,
uint64_t  addr,
uint16_t *  buf 
)
static

◆ mips64_pracc_write_u32()

◆ mips64_pracc_write_u64()

◆ mips64_pracc_write_u8()

◆ wait_for_pracc_rw()

static int wait_for_pracc_rw ( struct mips_ejtag ejtag_info,
uint32_t *  ctrl 
)
static