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

Go to the source code of this file.

Data Structures

struct  esirisc_trace
 

Enumerations

enum  esirisc_trace_delay { ESIRISC_TRACE_DELAY_NONE , ESIRISC_TRACE_DELAY_START , ESIRISC_TRACE_DELAY_STOP , ESIRISC_TRACE_DELAY_BOTH }
 
enum  esirisc_trace_ext_id {
  ESIRISC_TRACE_EXT_ID_EXCEPTION = 1 , ESIRISC_TRACE_EXT_ID_ERET , ESIRISC_TRACE_EXT_ID_STOP , ESIRISC_TRACE_EXT_ID_WAIT ,
  ESIRISC_TRACE_EXT_ID_MULTICYCLE , ESIRISC_TRACE_EXT_ID_COUNT , ESIRISC_TRACE_EXT_ID_PC , ESIRISC_TRACE_EXT_ID_INDIRECT ,
  ESIRISC_TRACE_EXT_ID_END , ESIRISC_TRACE_EXT_ID_END_PC
}
 
enum  esirisc_trace_format { ESIRISC_TRACE_FORMAT_FULL , ESIRISC_TRACE_FORMAT_BRANCH , ESIRISC_TRACE_FORMAT_ICACHE }
 
enum  esirisc_trace_id { ESIRISC_TRACE_ID_EXECUTE , ESIRISC_TRACE_ID_STALL , ESIRISC_TRACE_ID_BRANCH , ESIRISC_TRACE_ID_EXTENDED }
 
enum  esirisc_trace_trigger {
  ESIRISC_TRACE_TRIGGER_NONE , ESIRISC_TRACE_TRIGGER_PC , ESIRISC_TRACE_TRIGGER_LOAD , ESIRISC_TRACE_TRIGGER_STORE ,
  ESIRISC_TRACE_TRIGGER_EXCEPTION , ESIRISC_TRACE_TRIGGER_ERET , ESIRISC_TRACE_TRIGGER_WAIT , ESIRISC_TRACE_TRIGGER_STOP ,
  ESIRISC_TRACE_TRIGGER_HIGH , ESIRISC_TRACE_TRIGGER_LOW
}
 

Functions

static uint32_t esirisc_trace_buffer_size (struct esirisc_trace *trace_info)
 
static bool esirisc_trace_is_fifo (struct esirisc_trace *trace_info)
 

Variables

const struct command_registration esirisc_trace_command_handlers []
 

Enumeration Type Documentation

◆ esirisc_trace_delay

Enumerator
ESIRISC_TRACE_DELAY_NONE 
ESIRISC_TRACE_DELAY_START 
ESIRISC_TRACE_DELAY_STOP 
ESIRISC_TRACE_DELAY_BOTH 

Definition at line 15 of file esirisc_trace.h.

◆ esirisc_trace_ext_id

Enumerator
ESIRISC_TRACE_EXT_ID_EXCEPTION 
ESIRISC_TRACE_EXT_ID_ERET 
ESIRISC_TRACE_EXT_ID_STOP 
ESIRISC_TRACE_EXT_ID_WAIT 
ESIRISC_TRACE_EXT_ID_MULTICYCLE 
ESIRISC_TRACE_EXT_ID_COUNT 
ESIRISC_TRACE_EXT_ID_PC 
ESIRISC_TRACE_EXT_ID_INDIRECT 
ESIRISC_TRACE_EXT_ID_END 
ESIRISC_TRACE_EXT_ID_END_PC 

Definition at line 35 of file esirisc_trace.h.

◆ esirisc_trace_format

Enumerator
ESIRISC_TRACE_FORMAT_FULL 
ESIRISC_TRACE_FORMAT_BRANCH 
ESIRISC_TRACE_FORMAT_ICACHE 

Definition at line 22 of file esirisc_trace.h.

◆ esirisc_trace_id

Enumerator
ESIRISC_TRACE_ID_EXECUTE 
ESIRISC_TRACE_ID_STALL 
ESIRISC_TRACE_ID_BRANCH 
ESIRISC_TRACE_ID_EXTENDED 

Definition at line 28 of file esirisc_trace.h.

◆ esirisc_trace_trigger

Enumerator
ESIRISC_TRACE_TRIGGER_NONE 
ESIRISC_TRACE_TRIGGER_PC 
ESIRISC_TRACE_TRIGGER_LOAD 
ESIRISC_TRACE_TRIGGER_STORE 
ESIRISC_TRACE_TRIGGER_EXCEPTION 
ESIRISC_TRACE_TRIGGER_ERET 
ESIRISC_TRACE_TRIGGER_WAIT 
ESIRISC_TRACE_TRIGGER_STOP 
ESIRISC_TRACE_TRIGGER_HIGH 
ESIRISC_TRACE_TRIGGER_LOW 

Definition at line 48 of file esirisc_trace.h.

Function Documentation

◆ esirisc_trace_buffer_size()

static uint32_t esirisc_trace_buffer_size ( struct esirisc_trace trace_info)
inlinestatic

◆ esirisc_trace_is_fifo()

static bool esirisc_trace_is_fifo ( struct esirisc_trace trace_info)
inlinestatic

Definition at line 89 of file esirisc_trace.h.

References esirisc_trace::buffer_end, and esirisc_trace::buffer_start.

Referenced by COMMAND_HANDLER().

Variable Documentation

◆ esirisc_trace_command_handlers

const struct command_registration esirisc_trace_command_handlers[]
extern

Definition at line 1029 of file esirisc_trace.c.