Home
last modified time | relevance | path

Searched refs:ocsd_vaddr_t (Results 1 – 25 of 48) sorted by relevance

12

/external/OpenCSD/decoder/include/mem_acc/
Dtrc_mem_acc_base.h68 TrcMemAccessorBase(MemAccTypes type, ocsd_vaddr_t startAddr, ocsd_vaddr_t endAddr);
79 void setRange(ocsd_vaddr_t startAddr, ocsd_vaddr_t endAddr);
88 virtual const bool addrInRange(const ocsd_vaddr_t s_address) const;
98 virtual const bool addrStartOfRange(const ocsd_vaddr_t s_address) const;
110 … virtual const uint32_t bytesInRange(const ocsd_vaddr_t s_address, const uint32_t reqBytes) const;
132 …virtual const uint32_t readBytes(const ocsd_vaddr_t s_address, const ocsd_mem_space_acc_t memSpace…
153 ocsd_vaddr_t m_startAddress; /**< accessible range start address */
154 ocsd_vaddr_t m_endAddress; /**< accessible range end address */
159 …cMemAccessorBase::TrcMemAccessorBase(MemAccTypes accType, ocsd_vaddr_t startAddr, ocsd_vaddr_t end… in TrcMemAccessorBase()
175 inline void TrcMemAccessorBase::setRange(ocsd_vaddr_t startAddr, ocsd_vaddr_t endAddr) in setRange()
[all …]
Dtrc_mem_acc_file.h59 …virtual const uint32_t readBytes(const ocsd_vaddr_t s_address, const ocsd_mem_space_acc_t memSpace… in readBytes()
61 const ocsd_vaddr_t regionStartAddress() const { return m_startAddress; }; in regionStartAddress()
80 …virtual const uint32_t readBytes(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t memSpace, …
104 …ocsd_err_t initAccessor(const std::string &pathToFile, ocsd_vaddr_t startAddr, size_t offset, size…
110 FileRegionMemAccessor *getRegionForAddress(const ocsd_vaddr_t startAddr) const;
126 bool AddOffsetRange(const ocsd_vaddr_t startAddr, const size_t size, const size_t offset);
135 virtual const bool addrInRange(const ocsd_vaddr_t s_address) const;
144 virtual const bool addrStartOfRange(const ocsd_vaddr_t s_address) const;
156 … virtual const uint32_t bytesInRange(const ocsd_vaddr_t s_address, const uint32_t reqBytes) const;
185 …leAccessor(TrcMemAccessorFile **p_acc, const std::string &pathToFile, ocsd_vaddr_t startAddr, size…
[all …]
Dtrc_mem_acc_mapper.h58 virtual ocsd_err_t ReadTargetMemory( const ocsd_vaddr_t address,
77 …ocsd_err_t RemoveAccessorByAddress(const ocsd_vaddr_t st_address, const ocsd_mem_space_acc_t mem_s…
86 …virtual bool findAccessor(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const …
87 …virtual bool readFromCurrent(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, con…
118 …virtual bool findAccessor(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const …
119 …virtual bool readFromCurrent(const ocsd_vaddr_t address,const ocsd_mem_space_acc_t mem_space, con…
Dtrc_mem_acc_cache.h48 ocsd_vaddr_t st_addr;
74 …ocsd_err_t readBytesFromCache(TrcMemAccessorBase *p_accessor, const ocsd_vaddr_t address, const oc…
80 …bool blockInCache(const ocsd_vaddr_t address, const uint32_t reqBytes); // run through each page t…
81 bool blockInPage(const ocsd_vaddr_t address, const uint32_t reqBytes);
113 inline bool TrcMemAccCache::blockInPage(const ocsd_vaddr_t address, const uint32_t reqBytes) in blockInPage()
121 inline bool TrcMemAccCache::blockInCache(const ocsd_vaddr_t address, const uint32_t reqBytes) in blockInCache()
Dtrc_mem_acc_cb.h44 TrcMemAccCB(const ocsd_vaddr_t s_address,
45 const ocsd_vaddr_t e_address,
52 …virtual const uint32_t readBytes(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t memSpace, …
Dtrc_mem_acc_bufptr.h62 TrcMemAccBufPtr(const ocsd_vaddr_t s_address, const uint8_t *p_buffer, const uint32_t size);
67 …virtual const uint32_t readBytes(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t memSpace, …
/external/OpenCSD/decoder/include/common/
Docsd_code_follower.h78 ocsd_err_t followSingleAtom(const ocsd_vaddr_t addrStart, const ocsd_atm_val A);
84 …const ocsd_vaddr_t getRangeSt() const; //!< inclusive start address of decoded range (value passe…
85 …const ocsd_vaddr_t getRangeEn() const; //!< exclusive end address of decoded range (first instruc…
89 const ocsd_vaddr_t getNextAddr() const; //!< next address - valid if hasNextAddr() true.
103 const ocsd_vaddr_t getNaccAddr() const; //!< get the nacc error address.
112 ocsd_vaddr_t m_st_range_addr; //!< start of excuted range - inclusive address.
113 ocsd_vaddr_t m_en_range_addr; //!< end of executed range - exclusive address.
114ocsd_vaddr_t m_next_addr; //!< calcuated next address (could be eo range of branch address, …
122ocsd_vaddr_t m_nacc_address; //!< memory address that was inaccessible - failed read @ start, o…
160 inline const ocsd_vaddr_t OcsdCodeFollower::getRangeSt() const in getRangeSt()
[all …]
Docsd_dcd_tree.h288 …ocsd_err_t addBufferMemAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const…
299 …ocsd_err_t addBinFileMemAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, cons…
345 …ocsd_err_t addCallbackMemAcc(const ocsd_vaddr_t st_address, const ocsd_vaddr_t en_address, const o…
346 …ocsd_err_t addCallbackIDMemAcc(const ocsd_vaddr_t st_address, const ocsd_vaddr_t en_address, const…
356 …ocsd_err_t removeMemAccByAddress(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space);
388 ocsd_err_t initCallbackMemAcc(const ocsd_vaddr_t st_address, const ocsd_vaddr_t en_address,
Dtrc_ret_stack.h49 ocsd_vaddr_t ret_addr;
69 void push(const ocsd_vaddr_t addr, const ocsd_isa isa);
70 ocsd_vaddr_t pop(ocsd_isa &isa);
106 void LogOp(const char *pszOpString, ocsd_vaddr_t addr, int head_off, ocsd_isa isa);
Dtrc_gen_elem.h76 …void setAddrRange(const ocsd_vaddr_t st_addr, const ocsd_vaddr_t en_addr, const int num_instr = 1…
78 void setAddrStart(const ocsd_vaddr_t st_addr) { this->st_addr = st_addr; }; in setAddrStart()
129 inline void OcsdTraceElement::setAddrRange(const ocsd_vaddr_t st_addr, const ocsd_vaddr_t en_addr,… in setAddrRange()
159 st_addr = en_addr = (ocsd_vaddr_t)-1; in init()
/external/OpenCSD/decoder/source/mem_acc/
Dtrc_mem_acc_file.cpp68 ocsd_err_t TrcMemAccessorFile::initAccessor(const std::string &pathToFile, ocsd_vaddr_t startAddr, … in initAccessor()
76 m_file_size = (ocsd_vaddr_t)m_mem_file.tellg() & ((ocsd_vaddr_t)~0x1); in initAccessor()
98 FileRegionMemAccessor *TrcMemAccessorFile::getRegionForAddress(const ocsd_vaddr_t startAddr) const in getRegionForAddress()
123 …leAccessor(TrcMemAccessorFile **p_acc, const std::string &pathToFile, ocsd_vaddr_t startAddr, size… in createFileAccessor()
202 const uint32_t TrcMemAccessorFile::readBytes(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t… in readBytes()
213 ocsd_vaddr_t addr_pos = (ocsd_vaddr_t)m_mem_file.tellg(); in readBytes()
226 ocsd_vaddr_t addr_pos = (ocsd_vaddr_t)m_mem_file.tellg(); in readBytes()
235 bool TrcMemAccessorFile::AddOffsetRange(const ocsd_vaddr_t startAddr, const size_t size, const size… in AddOffsetRange()
281 const bool TrcMemAccessorFile::addrInRange(const ocsd_vaddr_t s_address) const in addrInRange()
295 const bool TrcMemAccessorFile::addrStartOfRange(const ocsd_vaddr_t s_address) const in addrStartOfRange()
[all …]
Dtrc_mem_acc_cb.cpp10 TrcMemAccCB::TrcMemAccCB(const ocsd_vaddr_t s_address, in TrcMemAccCB()
11 const ocsd_vaddr_t e_address, in TrcMemAccCB()
22 const uint32_t TrcMemAccCB::readBytes(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t memSpa… in readBytes()
Dtrc_mem_acc_base.cpp45 …ccFactory::CreateBufferAccessor(TrcMemAccessorBase **pAccessor, const ocsd_vaddr_t s_address, cons… in CreateBufferAccessor()
56 …cessor(TrcMemAccessorBase **pAccessor, const std::string &pathToFile, ocsd_vaddr_t startAddr, size… in CreateFileAccessor()
65 …CreateCBAccessor(TrcMemAccessorBase **pAccessor, const ocsd_vaddr_t s_address, const ocsd_vaddr_t in CreateCBAccessor()
Dtrc_mem_acc_bufptr.cpp38 TrcMemAccBufPtr::TrcMemAccBufPtr(const ocsd_vaddr_t s_address, const uint8_t *p_buffer, const uint3… in TrcMemAccBufPtr()
44 const uint32_t TrcMemAccBufPtr::readBytes(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t me… in readBytes()
Dtrc_mem_acc_mapper.cpp78 ocsd_err_t TrcMemAccMapper::ReadTargetMemory(const ocsd_vaddr_t address, const uint8_t cs_trace_id,… in ReadTargetMemory()
138 ocsd_err_t TrcMemAccMapper::RemoveAccessorByAddress(const ocsd_vaddr_t st_address, const ocsd_mem_s… in RemoveAccessorByAddress()
211 bool TrcMemAccMapGlobalSpace::findAccessor(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t m… in findAccessor()
228 bool TrcMemAccMapGlobalSpace::readFromCurrent(const ocsd_vaddr_t address, const ocsd_mem_space_acc_… in readFromCurrent()
/external/OpenCSD/decoder/include/opencsd/c_api/
Dopencsd_c_api.h239 …r_t ocsd_dt_add_binfile_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t address, const …
271 OCSD_C_API ocsd_err_t ocsd_dt_add_buffer_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t
287 …callback_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t st_address, const ocsd_vaddr_t
303 …ck_trcid_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t st_address, const ocsd_vaddr_t
315 OCSD_C_API ocsd_err_t ocsd_dt_remove_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t st_…
/external/OpenCSD/decoder/source/
Dtrc_ret_stack.cpp66 void TrcAddrReturnStack::push(const ocsd_vaddr_t addr, const ocsd_isa isa) in push()
82 ocsd_vaddr_t TrcAddrReturnStack::pop(ocsd_isa &isa) in pop()
84 ocsd_vaddr_t addr = (ocsd_vaddr_t)-1; in pop()
110 void TrcAddrReturnStack::LogOp(const char * pszOpString, ocsd_vaddr_t addr, int head_off, ocsd_isa … in LogOp()
Docsd_dcd_tree.cpp221 ocsd_err_t DecodeTree::addBufferMemAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_s… in addBufferMemAcc()
249 ocsd_err_t DecodeTree::addBinFileMemAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_… in addBinFileMemAcc()
347 ocsd_err_t DecodeTree::initCallbackMemAcc(const ocsd_vaddr_t st_address, const ocsd_vaddr_t en_addr… in initCallbackMemAcc()
379 ocsd_err_t DecodeTree::addCallbackMemAcc(const ocsd_vaddr_t st_address, const ocsd_vaddr_t en_addre… in addCallbackMemAcc()
384 ocsd_err_t DecodeTree::addCallbackIDMemAcc(const ocsd_vaddr_t st_address, const ocsd_vaddr_t en_add… in addCallbackIDMemAcc()
389 ocsd_err_t DecodeTree::removeMemAccByAddress(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t… in removeMemAccByAddress()
/external/OpenCSD/decoder/include/opencsd/
Docsd_if_types.h306 typedef uint32_t ocsd_vaddr_t; /**< 32 bit virtual addressing in library - use if compiling on … typedef
310 typedef uint64_t ocsd_vaddr_t; /**< 64 bit virtual addressing in library */ typedef
316 #define OCSD_BIT_MASK(bits) (bits == OCSD_MAX_VA_BITSIZE) ? OCSD_VA_MASK : ((ocsd_vaddr_t)1 << bits…
389 ocsd_vaddr_t instr_addr; /**< Input: Instruction address. */
396ocsd_vaddr_t branch_addr; /**< Decoder: Calculated address of branch instrcution (direct bran…
463 typedef uint32_t (* Fn_MemAcc_CB)(const void *p_context, const ocsd_vaddr_t address, const ocsd_mem…
487 typedef uint32_t (* Fn_MemAccID_CB)(const void *p_context, const ocsd_vaddr_t address, const ocsd_m…
493 ocsd_vaddr_t start_address; /**< Start address of memory region */
Dtrc_gen_elem_types.h110ocsd_vaddr_t st_addr; /**< start address for instruction execution range / inaccessible…
111ocsd_vaddr_t en_addr; /**< end address (exclusive) for instruction execution range. */
/external/OpenCSD/decoder/include/opencsd/ptm/
Dtrc_pkt_decode_ptm.h136 …l &bWPFound, const waypoint_trace_t traceWPOp = TRACE_WAYPOINT, const ocsd_vaddr_t nextAddrMatch =…
137 …ar *pkt_msg, const waypoint_trace_t traceWPOp = TRACE_WAYPOINT, const ocsd_vaddr_t nextAddrMatch =…
166 ocsd_vaddr_t instr_addr; //!< current address.
179 ocsd_vaddr_t m_nacc_addr; //!< address of memory access failure
/external/OpenCSD/decoder/tests/source/
Dmem_buff_demo.cpp59 static ocsd_vaddr_t program_image_address = 0; // load address on target of program image.
89 uint32_t mem_access_callback_fn(const void *p_context, const ocsd_vaddr_t address, const ocsd_mem_…
142 static ocsd_vaddr_t mem_dump_address = 0xFFFFFFC000081000; in initDataBuffers()
280 ocsd_vaddr_t block1_st, block2_st; in initialiseDecoder()
322 uint32_t mem_access_callback_fn(const void *p_context, const ocsd_vaddr_t address, in mem_access_callback_fn()
325 ocsd_vaddr_t buf_end_address = program_image_address + program_image_size - 1; in mem_access_callback_fn()
/external/OpenCSD/decoder/include/opencsd/etmv4/
Dtrc_pkt_decode_etmv4i.h111 void SetInstrInfoInAddrISA(const ocsd_vaddr_t addr_val, const uint8_t isa);
125 ocsd_vaddr_t st_addr;
126 ocsd_vaddr_t en_addr;
131 …str_range, WP_res_t &WPRes, const bool traceToAddrNext = false, const ocsd_vaddr_t nextAddrMatch =…
/external/OpenCSD/decoder/source/c_api/
Docsd_c_api.cpp367 …r_t ocsd_dt_add_binfile_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t address, const … in ocsd_dt_add_binfile_mem_acc()
387 OCSD_C_API ocsd_err_t ocsd_dt_add_buffer_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t in ocsd_dt_add_buffer_mem_acc()
397 …callback_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t st_address, const ocsd_vaddr_t in ocsd_dt_add_callback_mem_acc()
407 …ck_trcid_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t st_address, const ocsd_vaddr_t in ocsd_dt_add_callback_trcid_mem_acc()
418 OCSD_C_API ocsd_err_t ocsd_dt_remove_mem_acc(const dcd_tree_handle_t handle, const ocsd_vaddr_t st_… in ocsd_dt_remove_mem_acc()
/external/OpenCSD/decoder/source/i_dec/
Dtrc_i_decode.cpp96 instr_info->branch_addr = (ocsd_vaddr_t)branchAddr; in DecodeA32()
144 instr_info->branch_addr = (ocsd_vaddr_t)branchAddr; in DecodeA64()
200 instr_info->branch_addr = (ocsd_vaddr_t)(branchAddr & ~0x1); in DecodeT32()

12