OpenOCD
rtos_type Struct Reference

Data Fields

int(* clean )(struct target *target)
 
int(* create )(struct target *target)
 
bool(* detect_rtos )(struct target *target)
 
int(* get_symbol_list_to_lookup )(struct symbol_table_elem *symbol_list[])
 
int(* get_thread_reg )(struct rtos *rtos, int64_t thread_id, uint32_t reg_num, struct rtos_reg *reg)
 
int(* get_thread_reg_list )(struct rtos *rtos, int64_t thread_id, struct rtos_reg **reg_list, int *num_regs)
 Return a list of general registers, with their values filled out. More...
 
const char * name
 
char *(* ps_command )(struct target *target)
 
int(* read_buffer )(struct rtos *rtos, target_addr_t address, uint32_t size, uint8_t *buffer)
 
int(* set_reg )(struct rtos *rtos, uint32_t reg_num, uint8_t *reg_value)
 
int(* smp_init )(struct target *target)
 
int(* update_threads )(struct rtos *rtos)
 
int(* write_buffer )(struct rtos *rtos, target_addr_t address, uint32_t size, const uint8_t *buffer)
 

Detailed Description

Definition at line 59 of file rtos.h.

Field Documentation

◆ clean

int(* rtos_type::clean) (struct target *target)

Definition at line 71 of file rtos.h.

Referenced by gdb_new_connection().

◆ create

int(* rtos_type::create) (struct target *target)

Definition at line 62 of file rtos.h.

Referenced by os_alloc_create(), and rtos_thread_packet().

◆ detect_rtos

bool(* rtos_type::detect_rtos) (struct target *target)

Definition at line 61 of file rtos.h.

Referenced by rtos_qsymbol().

◆ get_symbol_list_to_lookup

int(* rtos_type::get_symbol_list_to_lookup) (struct symbol_table_elem *symbol_list[])

Definition at line 70 of file rtos.h.

Referenced by next_symbol().

◆ get_thread_reg

int(* rtos_type::get_thread_reg) (struct rtos *rtos, int64_t thread_id, uint32_t reg_num, struct rtos_reg *reg)

Definition at line 68 of file rtos.h.

Referenced by rtos_get_gdb_reg().

◆ get_thread_reg_list

int(* rtos_type::get_thread_reg_list) (struct rtos *rtos, int64_t thread_id, struct rtos_reg **reg_list, int *num_regs)

Return a list of general registers, with their values filled out.

Definition at line 66 of file rtos.h.

Referenced by rtos_get_gdb_reg(), and rtos_get_gdb_reg_list().

◆ name

const char* rtos_type::name

Definition at line 60 of file rtos.h.

Referenced by rtos_create(), and rtos_qsymbol().

◆ ps_command

char*(* rtos_type::ps_command) (struct target *target)

Definition at line 72 of file rtos.h.

Referenced by COMMAND_HANDLER().

◆ read_buffer

int(* rtos_type::read_buffer) (struct rtos *rtos, target_addr_t address, uint32_t size, uint8_t *buffer)

Definition at line 77 of file rtos.h.

Referenced by rtos_read_buffer().

◆ set_reg

int(* rtos_type::set_reg) (struct rtos *rtos, uint32_t reg_num, uint8_t *reg_value)

Definition at line 73 of file rtos.h.

Referenced by rtos_set_reg().

◆ smp_init

int(* rtos_type::smp_init) (struct target *target)

Definition at line 63 of file rtos.h.

Referenced by rtos_smp_init().

◆ update_threads

int(* rtos_type::update_threads) (struct rtos *rtos)

Definition at line 64 of file rtos.h.

Referenced by rtos_thread_packet(), and rtos_update_threads().

◆ write_buffer

int(* rtos_type::write_buffer) (struct rtos *rtos, target_addr_t address, uint32_t size, const uint8_t *buffer)

Definition at line 79 of file rtos.h.

Referenced by rtos_write_buffer().


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