/freebsd/contrib/opencsd/decoder/source/mem_acc/ |
H A D | trc_mem_acc_mapper.cpp | 78 …_vaddr_t address, const uint8_t cs_trace_id, const ocsd_mem_space_acc_t mem_space, uint32_t *num_b… in ReadTargetMemory() argument 85 if (!readFromCurrent(address, mem_space, cs_trace_id)) in ReadTargetMemory() 87 bReadFromCurr = findAccessor(address, mem_space, cs_trace_id); in ReadTargetMemory() 102 …err = m_cache.readBytesFromCache(m_acc_curr, address, mem_space, cs_trace_id, &readBytes, p_buffer… in ReadTargetMemory() 108 … readBytes = m_acc_curr->readBytes(address, mem_space, cs_trace_id, *num_bytes, p_buffer); in ReadTargetMemory() 146 …ssorByAddress(const ocsd_vaddr_t st_address, const ocsd_mem_space_acc_t mem_space, const uint8_t c… in RemoveAccessorByAddress() argument 149 if(findAccessor(st_address,mem_space,cs_trace_id)) in RemoveAccessorByAddress() 219 …ce::findAccessor(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t /… in findAccessor() argument 226 (*it)->inMemSpace(mem_space)) in findAccessor() 236 …:readFromCurrent(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t /… in readFromCurrent() argument [all …]
|
H A D | trc_mem_acc_cb.cpp | 12 const ocsd_mem_space_acc_t mem_space) : in TrcMemAccCB() argument 18 setMemSpace(mem_space); in TrcMemAccCB()
|
H A D | trc_mem_acc_base.cpp | 65 …, const ocsd_vaddr_t s_address, const ocsd_vaddr_t e_address, const ocsd_mem_space_acc_t mem_space) in CreateCBAccessor() argument 69 pAcc = new (std::nothrow) TrcMemAccCB(s_address,e_address,mem_space); in CreateCBAccessor()
|
H A D | trc_mem_acc_cache.cpp | 64 …ase *p_accessor, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t t… in readBytesFromCache() argument 94 …m_mru[m_mru_idx].valid_len = p_accessor->readBytes(address, mem_space, trcID, MEM_ACC_CACHE_PAGE_S… in readBytesFromCache()
|
H A D | trc_mem_acc_bufptr.cpp | 44 …ufPtr::readBytes(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t t… in readBytes() argument
|
H A D | trc_mem_acc_file.cpp | 202 …rFile::readBytes(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t t… in readBytes() argument
|
/freebsd/contrib/opencsd/decoder/include/common/ |
H A D | ocsd_dcd_tree.h | 312 …ocsd_err_t addBufferMemAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const… 323 …ocsd_err_t addBinFileMemAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, cons… 338 …gion_t *region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::stri… 354 …gion_t *region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::stri… 369 …t st_address, const ocsd_vaddr_t en_address, const ocsd_mem_space_acc_t mem_space, Fn_MemAcc_CB p_… 370 …t st_address, const ocsd_vaddr_t en_address, const ocsd_mem_space_acc_t mem_space, Fn_MemAccID_CB … 380 …ocsd_err_t removeMemAccByAddress(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space); 413 const ocsd_mem_space_acc_t mem_space, void *p_cb_func, bool IDfn, const void *p_context);
|
H A D | trc_pkt_decode_base.h | 98 …ocsd_err_t accessMemory(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, uint32_t… 177 …eI::accessMemory(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, uint32_t *num_b… in accessMemory() argument 180 …return m_mem_access.first()->ReadTargetMemory(address,getCoreSightTraceID(),mem_space, num_bytes,p… in accessMemory()
|
/freebsd/contrib/opencsd/decoder/include/mem_acc/ |
H A D | trc_mem_acc_mapper.h | 60 const ocsd_mem_space_acc_t mem_space, 79 …ssorByAddress(const ocsd_vaddr_t st_address, const ocsd_mem_space_acc_t mem_space, const uint8_t c… 88 …virtual bool findAccessor(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const … 89 …virtual bool readFromCurrent(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, con… 120 …virtual bool findAccessor(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const … 121 …virtual bool readFromCurrent(const ocsd_vaddr_t address,const ocsd_mem_space_acc_t mem_space, con…
|
H A D | trc_mem_acc_base.h | 147 … inMemSpace(const ocsd_mem_space_acc_t mem_space) const { return (bool)(((uint8_t)m_mem_space & (u… in inMemSpace() argument 234 … const ocsd_vaddr_t s_address, const ocsd_vaddr_t e_address, const ocsd_mem_space_acc_t mem_space);
|
H A D | trc_mem_acc_cb.h | 46 const ocsd_mem_space_acc_t mem_space);
|
H A D | trc_mem_acc_cache.h | 74 …ase *p_accessor, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t t…
|
/freebsd/contrib/opencsd/decoder/include/opencsd/c_api/ |
H A D | opencsd_c_api.h | 265 …handle_t handle, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const char *fil… 284 …gion_t *region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const char *fil… 297 …handle_t handle, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t *… 313 …t st_address, const ocsd_vaddr_t en_address, const ocsd_mem_space_acc_t mem_space, Fn_MemAcc_CB p_… 329 …t st_address, const ocsd_vaddr_t en_address, const ocsd_mem_space_acc_t mem_space, Fn_MemAccID_CB … 341 …nst dcd_tree_handle_t handle, const ocsd_vaddr_t st_address, const ocsd_mem_space_acc_t mem_space);
|
H A D | ocsd_c_api_cust_impl.h | 99 const ocsd_mem_space_acc_t mem_space, in lib_cb_MemAccess() argument 104 …return callbacks->fn_memory_access(callbacks->lib_context, address, cs_trace_id, mem_space, num_by… in lib_cb_MemAccess()
|
H A D | ocsd_c_api_custom.h | 143 const ocsd_mem_space_acc_t mem_space,
|
/freebsd/contrib/opencsd/decoder/source/ |
H A D | ocsd_dcd_tree.cpp | 228 …:addBufferMemAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t *… in addBufferMemAcc() argument 244 pMBuffAcc->setMemSpace(mem_space); in addBufferMemAcc() 256 …addBinFileMemAcc(const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const std::stri… in addBinFileMemAcc() argument 272 pAcc->setMemSpace(mem_space); in addBinFileMemAcc() 285 …gion_t *region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::stri… in addBinFileRegionMemAcc() argument 312 pAcc->setMemSpace(mem_space); in addBinFileRegionMemAcc() 326 …gion_t *region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const std::stri… in updateBinFileRegionMemAcc() argument 355 const ocsd_mem_space_acc_t mem_space, void *p_cb_func, bool IDfn, const void *p_context) in initCallbackMemAcc() argument 364 …csd_err_t err = TrcMemAccFactory::CreateCBAccessor(&p_accessor, st_address, en_address, mem_space); in initCallbackMemAcc() 386 …t st_address, const ocsd_vaddr_t en_address, const ocsd_mem_space_acc_t mem_space, Fn_MemAcc_CB p_… in addCallbackMemAcc() argument [all …]
|
/freebsd/contrib/opencsd/decoder/source/c_api/ |
H A D | ocsd_c_api.cpp | 383 …handle_t handle, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const char *fil… in ocsd_dt_add_binfile_mem_acc() argument 389 err = pDT->addBinFileMemAcc(address,mem_space,filepath); in ocsd_dt_add_binfile_mem_acc() 393 …gion_t *region_array, const int num_regions, const ocsd_mem_space_acc_t mem_space, const char *fil… in ocsd_dt_add_binfile_region_mem_acc() argument 399 err = pDT->addBinFileRegionMemAcc(region_array,num_regions,mem_space,filepath); in ocsd_dt_add_binfile_region_mem_acc() 403 …handle_t handle, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t *… in ocsd_dt_add_buffer_mem_acc() argument 409 err = pDT->addBufferMemAcc(address,mem_space,p_mem_buffer,mem_length); in ocsd_dt_add_buffer_mem_acc() 413 …t st_address, const ocsd_vaddr_t en_address, const ocsd_mem_space_acc_t mem_space, Fn_MemAcc_CB p_… in ocsd_dt_add_callback_mem_acc() argument 419 err = pDT->addCallbackMemAcc(st_address,en_address,mem_space,p_cb_func,p_context); in ocsd_dt_add_callback_mem_acc() 423 …t st_address, const ocsd_vaddr_t en_address, const ocsd_mem_space_acc_t mem_space, Fn_MemAccID_CB … in ocsd_dt_add_callback_trcid_mem_acc() argument 429 err = pDT->addCallbackIDMemAcc(st_address, en_address, mem_space, p_cb_func, p_context); in ocsd_dt_add_callback_trcid_mem_acc() [all …]
|
H A D | ocsd_c_api_custom_obj.cpp | 333 const ocsd_mem_space_acc_t mem_space, in MemAccessCB() argument 338 … *)lib_context)->m_pMemAccessor->ReadTargetMemory(address, cs_trace_id, mem_space, num_bytes, p_bu… in MemAccessCB()
|
H A D | ocsd_c_api_custom_obj.h | 147 const ocsd_mem_space_acc_t mem_space,
|
/freebsd/contrib/opencsd/decoder/include/interfaces/ |
H A D | trc_tgt_mem_access_i.h | 83 const ocsd_mem_space_acc_t mem_space,
|
/freebsd/contrib/opencsd/decoder/include/opencsd/ |
H A D | ocsd_if_types.h | 465 …void *p_context, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint32_t … 489 …void *p_context, const ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint8_t t…
|
/freebsd/contrib/opencsd/decoder/source/ptm/ |
H A D | trc_pkt_decode_ptm.cpp | 621 …ocsd_mem_space_acc_t mem_space = (m_pe_context.security_level == ocsd_sec_secure) ? OCSD_MEM_SPACE… in traceInstrToWP() local 633 err = accessMemory(m_instr_info.instr_addr,mem_space,&bytesReq,(uint8_t *)&opcode); in traceInstrToWP()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_bufs.c | 346 map->offset += dev->hose->mem_space->start; in drm_addmap_core()
|