OpenOCD
arm_sim_interface Struct Reference

Data Fields

uint32_t(* get_cpsr )(struct arm_sim_interface *sim, int pos, int bits)
 
enum arm_mode(* get_mode )(struct arm_sim_interface *sim)
 
uint32_t(* get_reg )(struct arm_sim_interface *sim, int reg)
 
uint32_t(* get_reg_mode )(struct arm_sim_interface *sim, int reg)
 
enum arm_state(* get_state )(struct arm_sim_interface *sim)
 
void(* set_reg )(struct arm_sim_interface *sim, int reg, uint32_t value)
 
void(* set_reg_mode )(struct arm_sim_interface *sim, int reg, uint32_t value)
 
void(* set_state )(struct arm_sim_interface *sim, enum arm_state mode)
 
void * user_data
 

Detailed Description

Definition at line 13 of file arm_simulator.h.

Field Documentation

◆ get_cpsr

uint32_t(* arm_sim_interface::get_cpsr) (struct arm_sim_interface *sim, int pos, int bits)

Definition at line 19 of file arm_simulator.h.

Referenced by arm_shifter_operand(), arm_simulate_step(), and arm_simulate_step_core().

◆ get_mode

enum arm_mode(* arm_sim_interface::get_mode) (struct arm_sim_interface *sim)

Definition at line 21 of file arm_simulator.h.

Referenced by arm_simulate_step().

◆ get_reg

uint32_t(* arm_sim_interface::get_reg) (struct arm_sim_interface *sim, int reg)

Definition at line 15 of file arm_simulator.h.

Referenced by arm_simulate_step(), and arm_simulate_step_core().

◆ get_reg_mode

uint32_t(* arm_sim_interface::get_reg_mode) (struct arm_sim_interface *sim, int reg)

Definition at line 17 of file arm_simulator.h.

Referenced by arm_shifter_operand(), arm_simulate_step(), and arm_simulate_step_core().

◆ get_state

enum arm_state(* arm_sim_interface::get_state) (struct arm_sim_interface *sim)

Definition at line 19 of file arm_simulator.h.

Referenced by arm_shifter_operand(), arm_simulate_step(), and arm_simulate_step_core().

◆ set_reg

void(* arm_sim_interface::set_reg) (struct arm_sim_interface *sim, int reg, uint32_t value)

Definition at line 16 of file arm_simulator.h.

Referenced by arm_simulate_step(), and arm_simulate_step_core().

◆ set_reg_mode

void(* arm_sim_interface::set_reg_mode) (struct arm_sim_interface *sim, int reg, uint32_t value)

Definition at line 18 of file arm_simulator.h.

Referenced by arm_simulate_step(), and arm_simulate_step_core().

◆ set_state

void(* arm_sim_interface::set_state) (struct arm_sim_interface *sim, enum arm_state mode)

Definition at line 21 of file arm_simulator.h.

Referenced by arm_simulate_step(), and arm_simulate_step_core().

◆ user_data


The documentation for this struct was generated from the following file: