OpenCSD - CoreSight Trace Decode Library
0.12.1
|
Go to the documentation of this file.
36 #ifndef ARM_TRC_PKT_ELEM_ETMV3_H_INCLUDED
37 #define ARM_TRC_PKT_ELEM_ETMV3_H_INCLUDED
68 virtual const void *
c_pkt()
const {
return &m_pkt_data; };
78 const uint16_t number,
82 const int resume = 0);
143 virtual void toString(std::string &str)
const;
144 virtual void toStringFmt(
const uint32_t fmtFlags, std::string &str)
const;
148 void getBranchAddressStr(std::string &valStr)
const;
149 void getAtomStr(std::string &valStr)
const;
150 void getISyncStr(std::string &valStr)
const;
151 void getISAStr(std::string &isaStr)
const;
152 void getExcepStr(std::string &excepStr)
const;
183 m_pkt_data.
type = p_type;
189 m_pkt_data.
type = e_type;
222 m_pkt_data.
data.
be = BE_Val;
259 #endif // ARM_TRC_PKT_ELEM_ETMV3_H_INCLUDED
const uint16_t excepNum() const
const ocsd_iSync_reason getISyncReason() const
ocsd_etmv3_excep exception
void UpdateHyp(const int Hyp)
void UpdateISA(const ocsd_isa isa)
OpenCSD : Standard printable element base class.
void SetType(const ocsd_etmv3_pkt_type p_type)
struct _ocsd_etmv3_excep::@1 bits
void SetDataValue(const uint32_t value)
const bool changedISA() const
const bool isVMIDUpdated() const
void UpdateNS(const int NS)
const bool getISyncNoAddr() const
const ocsd_etmv3_pkt_type getType() const
virtual void toString(std::string &str) const
invalid sequence for packet type
enum _ocsd_armv7_exception ocsd_armv7_exception
void SetDataOOOTag(const uint8_t tag)
const ocsd_isa ISA() const
virtual const void * c_pkt() const
return the underlying C API packet structure
ocsd_etmv3_pkt_type err_type
const uint64_t getTS() const
void SetCycleCount(const uint32_t cycleCount)
const bool getISyncHasCC() const
void SetISyncReason(const ocsd_iSync_reason reason)
bool UpdateAtomFromPHdr(const uint8_t pHdr, const bool cycleAccurate)
Interpret P Hdr, return true if valid, false if not.
void UpdateAddress(const ocsd_vaddr_t partAddrVal, const int updateBits)
const bool isExcepPkt() const
const uint32_t getVMID() const
EtmV3TrcPacket & operator=(const ocsd_etmv3_pkt *p_pkt)
ocsd_armv7_exception type
enum _ocsd_etmv3_pkt_type ocsd_etmv3_pkt_type
Class to provide trace element strings for printing.
const uint32_t getCtxtID() const
void UpdateDataEndian(const uint8_t BE_Val)
void UpdateAltISA(const int AltISA)
const bool isCtxtFlagsUpdated() const
const bool isCtxtIDUpdated() const
const uint32_t getCycleCount() const
const bool isCtxtUpdated() const
void ResetState()
reset intra packet state data -on full decoder reset.
const bool isExcepCancel() const
ETMv3 Trace Protocol Packet.
const ocsd_pkt_atom & getAtom() const
void UpdateTimestamp(const uint64_t tsVal, const uint8_t updateBits)
const ocsd_armv7_exception excepType() const
const ocsd_vaddr_t getAddr() const
enum _ocsd_iSync_reason ocsd_iSync_reason
const uint8_t getPHdrFmt() const
void UpdateVMID(const uint8_t VMID)
const ocsd_vaddr_t getDataAddr() const
void UpdateDataAddress(const uint32_t value, const uint8_t valid_bits)
void SetErrType(const ocsd_etmv3_pkt_type e_type)
const bool isBadPacket() const
const bool getISyncIsLSiPAddr() const
virtual void toStringFmt(const uint32_t fmtFlags, std::string &str) const
void SetException(const ocsd_armv7_exception type, const uint16_t number, const bool cancel, const bool cm_type, const int irq_n=0, const int resume=0)
void UpdateContextID(const uint32_t contextID)
void Clear()
clear update data in packet ready for new one.