OpenOCD
or1k_du.h File Reference
Include dependency graph for or1k_du.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  or1k_du
 

Macros

#define CPU_NOT_RESET   1
 
#define CPU_RESET   0
 
#define CPU_STALL   0
 
#define CPU_UNSTALL   1
 

Functions

int or1k_adv_jtag_jsp_xfer (struct or1k_jtag *jtag_info, int *out_len, unsigned char *out_buffer, int *in_len, unsigned char *in_buffer)
 
int or1k_du_adv_register (void)
 
static struct or1k_duor1k_jtag_to_du (struct or1k_jtag *jtag_info)
 
static struct or1k_duor1k_to_du (struct or1k_common *or1k)
 

Variables

struct list_head du_list
 

Macro Definition Documentation

◆ CPU_NOT_RESET

#define CPU_NOT_RESET   1

Definition at line 19 of file or1k_du.h.

◆ CPU_RESET

#define CPU_RESET   0

Definition at line 18 of file or1k_du.h.

◆ CPU_STALL

#define CPU_STALL   0

Definition at line 15 of file or1k_du.h.

◆ CPU_UNSTALL

#define CPU_UNSTALL   1

Definition at line 16 of file or1k_du.h.

Function Documentation

◆ or1k_adv_jtag_jsp_xfer()

int or1k_adv_jtag_jsp_xfer ( struct or1k_jtag jtag_info,
int *  out_len,
unsigned char *  out_buffer,
int *  in_len,
unsigned char *  in_buffer 
)

◆ or1k_du_adv_register()

int or1k_du_adv_register ( void  )

Definition at line 1061 of file or1k_du_adv.c.

References du_list, or1k_du::list, list_add_tail(), and or1k_du_adv.

Referenced by or1k_target_create().

◆ or1k_jtag_to_du()

static struct or1k_du* or1k_jtag_to_du ( struct or1k_jtag jtag_info)
inlinestatic

Definition at line 52 of file or1k_du.h.

References or1k_jtag::du_core.

Referenced by or1k_jtag_read_regs(), and or1k_jtag_write_regs().

◆ or1k_to_du()

Variable Documentation

◆ du_list

struct list_head du_list
extern