Classes providing Protocol Packet Decoding capability.
More...
|
| TrcPktDecodeI::TrcPktDecodeI (const char *component_name) |
|
| TrcPktDecodeI::TrcPktDecodeI (const char *component_name, int instIDNum) |
|
const bool | TrcPktDecodeI::checkInit () |
|
ocsd_datapath_resp_t | TrcPktDecodeI::outputTraceElement (const OcsdTraceElement &elem) |
|
ocsd_datapath_resp_t | TrcPktDecodeI::outputTraceElementIdx (ocsd_trc_index_t idx, const OcsdTraceElement &elem) |
|
ocsd_err_t | TrcPktDecodeI::instrDecode (ocsd_instr_info *instr_info) |
|
ocsd_err_t | TrcPktDecodeI::accessMemory (const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, uint32_t *num_bytes, uint8_t *p_buffer) |
|
ocsd_err_t | TrcPktDecodeI::invalidateMemAccCache () |
|
| TrcPktDecodeBase< P, Pc >::TrcPktDecodeBase (const char *component_name) |
|
| TrcPktDecodeBase< P, Pc >::TrcPktDecodeBase (const char *component_name, int instIDNum) |
|
virtual | TrcPktDecodeBase< P, Pc >::~TrcPktDecodeBase () |
|
virtual ocsd_datapath_resp_t | TrcPktDecodeBase< P, Pc >::PacketDataIn (const ocsd_datapath_op_t op, const ocsd_trc_index_t index_sop, const P *p_packet_in) |
|
ocsd_err_t | TrcPktDecodeBase< P, Pc >::setProtocolConfig (const Pc *config) |
|
void | TrcPktDecodeBase< P, Pc >::ClearConfigObj () |
|
Classes providing Protocol Packet Decoding capability.
Packet decoders convert incoming protocol packets from a packet processor, into generic trace elements to be output to an analysis program.
Packet decoders can be:-
- PE decoders - converting ETM or PTM packets into instruction and data trace elements
- SW stimulus decoder - converting STM or ITM packets into software generated trace elements.
- Bus decoders - converting HTM packets into bus transaction elements.
◆ accessMemory()
◆ checkInit()
const bool TrcPktDecodeI::checkInit |
( |
| ) |
|
|
inlineprotected |
◆ ClearConfigObj()
template<class P , class Pc >
◆ instrDecode()
◆ invalidateMemAccCache()
ocsd_err_t TrcPktDecodeI::invalidateMemAccCache |
( |
| ) |
|
|
inlineprotected |
◆ outputTraceElement()
◆ outputTraceElementIdx()
◆ PacketDataIn()
template<class P , class Pc >
Default destructor.
Interface function to process a single protocol packet. Pass a trace index for the start of packet and a pointer to a packet when the datapath operation is OCSD_OP_DATA.
- Parameters
-
op | : Datapath operation. |
index_sop | : Trace index for the start of the packet, 0 if not OCSD_OP_DATA. |
*p_packet_in | : Protocol Packet - when data path operation is OCSD_OP_DATA. null otherwise. |
- Returns
- ocsd_datapath_resp_t : Standard data path response.
Implements IPktDataIn< P >.
Definition at line 238 of file trc_pkt_decode_base.h.
◆ setProtocolConfig()
template<class P , class Pc >
◆ TrcPktDecodeBase() [1/2]
template<class P , class Pc >
◆ TrcPktDecodeBase() [2/2]
template<class P , class Pc >
◆ TrcPktDecodeI() [1/2]
TrcPktDecodeI::TrcPktDecodeI |
( |
const char * |
component_name | ) |
|
|
inline |
◆ TrcPktDecodeI() [2/2]
TrcPktDecodeI::TrcPktDecodeI |
( |
const char * |
component_name, |
|
|
int |
instIDNum |
|
) |
| |
|
inline |
◆ ~TrcPktDecodeBase()
template<class P , class Pc >