OpenCSD - CoreSight Trace Decode Library
0.14.4
|
Go to the documentation of this file.
37 #ifndef ARM_TRC_PKT_ELEM_PTM_H_INCLUDED
38 #define ARM_TRC_PKT_ELEM_PTM_H_INCLUDED
67 const uint16_t number);
122 virtual void toStringFmt(
const uint32_t fmtFlags, std::string &str)
const;
125 void packetTypeName(
const ocsd_ptm_pkt_type pkt_type, std::string &name, std::string &desc)
const;
126 void getAtomStr(std::string &valStr)
const;
127 void getBranchAddressStr(std::string &valStr)
const;
128 void getExcepStr(std::string &excepStr)
const;
129 void getISAStr(std::string &isaStr)
const;
130 void getCycleCountStr(std::string &subStr)
const;
131 void getISyncStr(std::string &valStr)
const;
132 void getTSStr(std::string &valStr)
const;
219 #endif // ARM_TRC_PKT_ELEM_PTM_H_INCLUDED
const bool isBranchExcepPacket() const
ocsd_iSync_reason i_sync_reason
virtual const void * c_pkt() const
return the underlying C API packet structure
OpenCSD : Standard printable element base class.
const bool CtxtIDUpdated() const
void SetAtomFromPHdr(const uint8_t pHdr)
void SetType(const ocsd_ptm_pkt_type p_type)
enum _ocsd_iSync_reason ocsd_iSync_reason
const bool PEContextUpdated() const
const ocsd_vaddr_t getAddrVal() const
virtual void toStringFmt(const uint32_t fmtFlags, std::string &str) const
const uint32_t getCCVal() const
enum _ocsd_armv7_exception ocsd_armv7_exception
ocsd_ptm_pkt_type err_type
struct _ocsd_ptm_excep::@27 bits
void UpdateTimestamp(const uint64_t tsVal, const uint8_t updateBits)
void UpdateISA(const ocsd_isa isa)
const ocsd_armv7_exception excepType() const
const uint8_t getHyp() const
void SetISyncReason(const ocsd_iSync_reason reason)
void SetException(const ocsd_armv7_exception type, const uint16_t number)
void UpdateAddress(const ocsd_vaddr_t partAddrVal, const int updateBits)
const ocsd_isa getISA() const
PtmTrcPacket & operator=(const ocsd_ptm_pkt *p_pkt)
const bool isBadPacket() const
void UpdateAltISA(const int AltISA)
void SetErrType(const ocsd_ptm_pkt_type e_type)
Class to provide trace element strings for printing.
const ocsd_ptm_pkt_type getType() const
const uint16_t excepNum() const
const ocsd_pkt_atom & getAtom() const
void ResetState()
reset intra packet state data - on full decoder reset.
const uint32_t getCtxtID() const
enum _ocsd_ptm_pkt_type ocsd_ptm_pkt_type
void UpdateNS(const int NS)
void SetCycleAccAtomFromPHdr(const uint8_t pHdr)
void UpdateHyp(const int Hyp)
virtual void toString(std::string &str) const
void SetCycleCount(const uint32_t cycleCount)
@ PTM_PKT_BAD_SEQUENCE
invalid sequence for packet type
const bool VMIDUpdated() const
void UpdateContextID(const uint32_t contextID)
const uint8_t getNS() const
void Clear()
clear update data in packet ready for new one.
const uint8_t getVMID() const
const bool ISAChanged() const
void UpdateVMID(const uint8_t VMID)
const uint8_t getAltISA() const
const ocsd_iSync_reason iSyncReason() const
ocsd_armv7_exception type