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

Go to the source code of this file.

Functions

int mips64_arch_state (struct target *target)
 
int mips64_build_reg_cache (struct target *target)
 
int mips64_configure_break_unit (struct target *target)
 
static int mips64_configure_d_break_unit (struct target *target)
 
static int mips64_configure_i_break_unit (struct target *target)
 
int mips64_enable_interrupts (struct target *target, bool enable)
 
int mips64_examine (struct target *target)
 
static int mips64_get_core_reg (struct reg *reg)
 
int mips64_get_gdb_reg_list (struct target *target, struct reg **reg_list[], int *reg_list_size, enum target_register_class reg_class)
 
int mips64_init_arch_info (struct target *target, struct mips64_common *mips64, struct jtag_tap *tap)
 
int mips64_invalidate_core_regs (struct target *target)
 
static int mips64_read_core_reg (struct target *target, int num)
 
int mips64_restore_context (struct target *target)
 
int mips64_run_algorithm (struct target *target, int num_mem_params, struct mem_param *mem_params, int num_reg_params, struct reg_param *reg_params, target_addr_t entry_point, target_addr_t exit_point, unsigned int timeout_ms, void *arch_info)
 
int mips64_save_context (struct target *target)
 
static int mips64_set_core_reg (struct reg *reg, uint8_t *buf)
 
static int mips64_write_core_reg (struct target *target, int num)
 
static int reg_type2size (enum reg_type type)
 

Variables

static const struct reg_arch_type mips64_reg_type
 
struct {
   const char *   feature
 
   int   flag
 
   const char *   group
 
   unsigned int   id
 
   const char *   name
 
   enum reg_type   type
 
mips64_regs []
 

Function Documentation

◆ mips64_arch_state()

◆ mips64_build_reg_cache()

◆ mips64_configure_break_unit()

◆ mips64_configure_d_break_unit()

◆ mips64_configure_i_break_unit()

◆ mips64_enable_interrupts()

int mips64_enable_interrupts ( struct target target,
bool  enable 
)

◆ mips64_examine()

◆ mips64_get_core_reg()

static int mips64_get_core_reg ( struct reg reg)
static

◆ mips64_get_gdb_reg_list()

int mips64_get_gdb_reg_list ( struct target target,
struct reg **  reg_list[],
int *  reg_list_size,
enum target_register_class  reg_class 
)

◆ mips64_init_arch_info()

◆ mips64_invalidate_core_regs()

int mips64_invalidate_core_regs ( struct target target)

◆ mips64_read_core_reg()

static int mips64_read_core_reg ( struct target target,
int  num 
)
static

◆ mips64_restore_context()

◆ mips64_run_algorithm()

int mips64_run_algorithm ( struct target target,
int  num_mem_params,
struct mem_param mem_params,
int  num_reg_params,
struct reg_param reg_params,
target_addr_t  entry_point,
target_addr_t  exit_point,
unsigned int  timeout_ms,
void *  arch_info 
)

Definition at line 459 of file mips64.c.

References ERROR_OK.

◆ mips64_save_context()

int mips64_save_context ( struct target target)

◆ mips64_set_core_reg()

static int mips64_set_core_reg ( struct reg reg,
uint8_t *  buf 
)
static

◆ mips64_write_core_reg()

static int mips64_write_core_reg ( struct target target,
int  num 
)
static

◆ reg_type2size()

static int reg_type2size ( enum reg_type  type)
static

Definition at line 211 of file mips64.c.

References REG_TYPE_IEEE_DOUBLE, REG_TYPE_INT, REG_TYPE_UINT32, REG_TYPE_UINT64, and type.

Referenced by mips64_build_reg_cache().

Variable Documentation

◆ feature

const char* feature

Definition at line 28 of file mips64.c.

◆ flag

◆ group

const char* group

Definition at line 27 of file mips64.c.

◆ id

unsigned int id

Definition at line 24 of file mips64.c.

◆ mips64_reg_type

const struct reg_arch_type mips64_reg_type
static
Initial value:
= {
}
static int mips64_set_core_reg(struct reg *reg, uint8_t *buf)
Definition: mips64.c:240
static int mips64_get_core_reg(struct reg *reg)
Definition: mips64.c:225

Definition at line 354 of file mips64.c.

Referenced by mips64_build_reg_cache().

◆ 

const { ... } mips64_regs[]

Referenced by mips64_build_reg_cache().

◆ name

const char* name

Definition at line 25 of file mips64.c.

◆ type

enum reg_type type

Definition at line 25 of file mips64.c.

Referenced by mips64_build_reg_cache(), and reg_type2size().