OpenCSD - CoreSight Trace Decode Library  1.3.3
Classes
ocsd_c_api_custom.h File Reference
#include "ocsd_c_api_types.h"
Include dependency graph for ocsd_c_api_custom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ocsd_extern_dcd_inst
 
struct  _ocsd_extern_dcd_cb_fns
 
struct  _ocsd_extern_dcd_fact
 

Typedefs

External decoder - Callback Interfaces
typedef ocsd_datapath_resp_t(* fnGenElemOpCB) (const void *lib_context, const ocsd_trc_index_t index_sop, const uint8_t trc_chan_id, const ocsd_generic_trace_elem *elem)
 
typedef void(* fnLogErrorCB) (const void *lib_context, const ocsd_err_severity_t filter_level, const ocsd_err_t code, const ocsd_trc_index_t idx, const uint8_t chan_id, const char *pMsg)
 
typedef void(* fnLogMsgCB) (const void *lib_context, const ocsd_err_severity_t filter_level, const char *msg)
 
typedef ocsd_err_t(* fnDecodeArmInstCB) (const void *lib_context, ocsd_instr_info *instr_info)
 
typedef ocsd_err_t(* fnMemAccessCB) (const void *lib_context, const ocsd_vaddr_t address, const uint8_t cs_trace_id, const ocsd_mem_space_acc_t mem_space, uint32_t *num_bytes, uint8_t *p_buffer)
 
typedef void(* fnPktMonCB) (const void *lib_context, const ocsd_datapath_op_t op, const ocsd_trc_index_t index_sop, const void *pkt, const uint32_t size, const uint8_t *p_data)
 
typedef ocsd_datapath_resp_t(* fnPktDataSinkCB) (const void *lib_context, const ocsd_datapath_op_t op, const ocsd_trc_index_t index_sop, const void *pkt)
 
typedef struct _ocsd_extern_dcd_cb_fns ocsd_extern_dcd_cb_fns
 
External decoder - Decoder Factory
typedef ocsd_err_t(* fnCreateCustomDecoder) (const int create_flags, const void *decoder_cfg, const ocsd_extern_dcd_cb_fns *p_lib_callbacks, ocsd_extern_dcd_inst_t *p_decoder_inst)
 
typedef ocsd_err_t(* fnDestroyCustomDecoder) (const void *decoder_handle)
 
typedef ocsd_err_t(* fnGetCSIDFromConfig) (const void *decoder_cfg, unsigned char *p_csid)
 
typedef ocsd_err_t(* fnPacketToString) (const void *trc_pkt, char *buffer, const int buflen)
 
typedef struct _ocsd_extern_dcd_fact ocsd_extern_dcd_fact_t
 

External decoder - Input Interfaces

#define OCSD_CUST_DCD_PKT_CB_USE_MON   0x1
 
#define OCSD_CUST_DCD_PKT_CB_USE_SINK   0x2
 
typedef ocsd_datapath_resp_t(* fnTraceDataIn) (const void *decoder_handle, const ocsd_datapath_op_t op, const ocsd_trc_index_t index, const uint32_t dataBlockSize, const uint8_t *pDataBlock, uint32_t *numBytesProcessed)
 
typedef void(* fnUpdatePktMonFlags) (const void *decoder_handle, const int flags)
 
typedef struct _ocsd_extern_dcd_inst ocsd_extern_dcd_inst_t