Home
last modified time | relevance | path

Searched refs:load_addr (Results 1 – 25 of 70) sorted by relevance

123

/freebsd-12-stable/sys/contrib/octeon-sdk/
Dcvmx-pow.c155 cvmx_pow_load_addr_t load_addr; in __cvmx_pow_capture_v1() local
156 load_addr.u64 = 0; in __cvmx_pow_capture_v1()
157 load_addr.sstatus.mem_region = CVMX_IO_SEG; in __cvmx_pow_capture_v1()
158 load_addr.sstatus.is_io = 1; in __cvmx_pow_capture_v1()
159 load_addr.sstatus.did = CVMX_OCT_DID_TAG_TAG1; in __cvmx_pow_capture_v1()
160 load_addr.sstatus.coreid = core; in __cvmx_pow_capture_v1()
163 load_addr.sstatus.get_rev = (bits & 1) != 0; in __cvmx_pow_capture_v1()
164 load_addr.sstatus.get_cur = (bits & 2) != 0; in __cvmx_pow_capture_v1()
165 load_addr.sstatus.get_wqp = (bits & 4) != 0; in __cvmx_pow_capture_v1()
166 if ((load_addr.sstatus.get_cur == 0) && load_addr.sstatus.get_rev) in __cvmx_pow_capture_v1()
[all …]
Dcvmx-pow.h1356 cvmx_pow_load_addr_t load_addr; in cvmx_pow_get_current_tag() local
1361 load_addr.u64 = 0; in cvmx_pow_get_current_tag()
1362 load_addr.sstatus_cn68xx.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_tag()
1363 load_addr.sstatus_cn68xx.is_io = 1; in cvmx_pow_get_current_tag()
1364 load_addr.sstatus_cn68xx.did = CVMX_OCT_DID_TAG_TAG5; in cvmx_pow_get_current_tag()
1365 load_addr.sstatus_cn68xx.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_tag()
1366 load_addr.sstatus_cn68xx.opcode = 3; in cvmx_pow_get_current_tag()
1367 load_resp.u64 = cvmx_read_csr(load_addr.u64); in cvmx_pow_get_current_tag()
1374 load_addr.u64 = 0; in cvmx_pow_get_current_tag()
1375 load_addr.sstatus.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_tag()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Target/
DSectionLoadList.cpp64 addr_t load_addr, in SetSectionLoadAddress() argument
72 load_addr, module_sp.get()); in SetSectionLoadAddress()
82 if (load_addr == sta_pos->second) in SetSectionLoadAddress()
85 sta_pos->second = load_addr; in SetSectionLoadAddress()
87 m_sect_to_addr[section.get()] = load_addr; in SetSectionLoadAddress()
90 addr_to_sect_collection::iterator ats_pos = m_addr_to_sect.find(load_addr); in SetSectionLoadAddress()
110 load_addr, module_sp->GetFileSpec().GetFilename().GetCString(), in SetSectionLoadAddress()
119 m_addr_to_sect[load_addr] = section; in SetSectionLoadAddress()
129 section->GetName().AsCString(), load_addr); in SetSectionLoadAddress()
160 addr_t load_addr = sta_pos->second; in SetSectionUnloaded() local
[all …]
DSectionLoadHistory.cpp114 bool SectionLoadHistory::ResolveLoadAddress(uint32_t stop_id, addr_t load_addr, in ResolveLoadAddress() argument
121 return section_load_list->ResolveLoadAddress(load_addr, so_addr); in ResolveLoadAddress()
125 uint32_t stop_id, const lldb::SectionSP &section_sp, addr_t load_addr, in SetSectionLoadAddress() argument
131 return section_load_list->SetSectionLoadAddress(section_sp, load_addr, in SetSectionLoadAddress()
147 addr_t load_addr) { in SetSectionUnloaded() argument
152 return section_load_list->SetSectionUnloaded(section_sp, load_addr); in SetSectionUnloaded()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Windows-DYLD/
DDynamicLoaderWindowsDYLD.cpp107 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in GetLoadAddress() local
114 m_process->GetFileLoadAddress(file_spec, is_loaded, load_addr); in GetLoadAddress()
116 if (status.Success() && is_loaded && load_addr != LLDB_INVALID_ADDRESS) { in GetLoadAddress()
117 m_loaded_modules[executable] = load_addr; in GetLoadAddress()
118 return load_addr; in GetLoadAddress()
135 lldb::addr_t load_addr = GetLoadAddress(executable); in DidAttach() local
136 if (load_addr == LLDB_INVALID_ADDRESS) in DidAttach()
141 if (image_base == load_addr) in DidAttach()
145 UpdateLoadedSections(executable, LLDB_INVALID_ADDRESS, load_addr, false); in DidAttach()
162 lldb::addr_t load_addr = GetLoadAddress(executable); in DidLaunch() local
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Expression/
DMaterializer.cpp143 const lldb::addr_t load_addr = process_address + m_offset; in Materialize() local
149 (uint64_t)load_addr, in Materialize()
172 load_addr, in Materialize()
195 const lldb::addr_t load_addr = process_address + m_offset; in Dematerialize() local
224 map.ReadPointerFromMemory(&location, load_addr, read_error); in Dematerialize()
341 const lldb::addr_t load_addr = process_address + m_offset; in DumpToLog() local
344 load_addr, in DumpToLog()
352 map.ReadMemory(data.GetBytes(), load_addr, m_size, err); in DumpToLog()
358 load_addr); in DumpToLog()
369 map.ReadPointerFromMemory(&target_address, load_addr, err); in DumpToLog()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Core/
DAddressRange.cpp110 addr_t load_addr = addr.GetLoadAddress(target); in ContainsLoadAddress() local
111 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress()
114 if (load_base_addr <= load_addr) in ContainsLoadAddress()
115 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
120 bool AddressRange::ContainsLoadAddress(addr_t load_addr, Target *target) const { in ContainsLoadAddress() argument
121 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress()
128 if (load_base_addr <= load_addr) in ContainsLoadAddress()
129 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
DAddress.cpp358 bool Address::SetCallableLoadAddress(lldb::addr_t load_addr, Target *target) { in SetCallableLoadAddress() argument
359 if (SetLoadAddress(load_addr, target)) { in SetCallableLoadAddress()
378 bool Address::SetOpcodeLoadAddress(lldb::addr_t load_addr, Target *target, in SetOpcodeLoadAddress() argument
381 if (SetLoadAddress(load_addr, target, allow_section_end)) { in SetOpcodeLoadAddress()
453 addr_t load_addr = GetLoadAddress(target); in Dump() local
467 load_addr = GetCallableLoadAddress(target); in Dump()
470 if (load_addr == LLDB_INVALID_ADDRESS) { in Dump()
475 DumpAddress(s->AsRawOstream(), load_addr, addr_size); in Dump()
744 addr_t load_addr = GetLoadAddress(target); in Dump() local
745 if (load_addr != LLDB_INVALID_ADDRESS) { in Dump()
[all …]
DDynamicLoader.cpp178 lldb::addr_t load_addr; in LoadModuleAtAddress() local
179 Status error = m_process->GetFileLoadAddress(file, is_loaded, load_addr); in LoadModuleAtAddress()
182 base_addr = load_addr; in LoadModuleAtAddress()
DValueObjectMemory.cpp193 lldb::addr_t load_addr = m_address.GetLoadAddress(target); in UpdateValue() local
194 if (load_addr != LLDB_INVALID_ADDRESS) { in UpdateValue()
196 m_value.GetScalar() = load_addr; in UpdateValue()
/freebsd-12-stable/contrib/gdb/gdb/
Dprintcmd.c1057 CORE_ADDR load_addr; in address_info() local
1085 load_addr = SYMBOL_VALUE_ADDRESS (msymbol); in address_info()
1091 print_address_numeric (load_addr, 1, gdb_stdout); in address_info()
1096 load_addr = overlay_unmapped_address (load_addr, section); in address_info()
1098 print_address_numeric (load_addr, 1, gdb_stdout); in address_info()
1125 print_address_numeric (load_addr = SYMBOL_VALUE_ADDRESS (sym), in address_info()
1129 load_addr = overlay_unmapped_address (load_addr, section); in address_info()
1131 print_address_numeric (load_addr, 1, gdb_stdout); in address_info()
1152 print_address_numeric (load_addr = SYMBOL_VALUE_ADDRESS (sym), in address_info()
1156 load_addr = overlay_unmapped_address (load_addr, section); in address_info()
[all …]
Dsolib-svr4.c1006 CORE_ADDR load_addr = 0; in enable_break() local
1064 load_addr = LM_ADDR (inferior_sos); in enable_break()
1074 load_addr = (read_pc () in enable_break()
1083 bfd_section_vma (tmp_bfd, interp_sect) + load_addr; in enable_break()
1091 bfd_section_vma (tmp_bfd, interp_sect) + load_addr; in enable_break()
1119 create_solib_event_breakpoint (load_addr + sym_addr); in enable_break()
/freebsd-12-stable/contrib/llvm-project/lldb/bindings/interface/
DSBAddress.i58 SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target);
88 SetLoadAddress (lldb::addr_t load_addr,
155 def __set_load_addr_property__ (self, load_addr):
159 return self.SetLoadAddress (load_addr, target)
186load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''A read/write p…
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Target/
DSectionLoadList.h43 bool ResolveLoadAddress(lldb::addr_t load_addr, Address &so_addr,
47 lldb::addr_t load_addr,
54 lldb::addr_t load_addr);
DSectionLoadHistory.h47 bool ResolveLoadAddress(uint32_t stop_id, lldb::addr_t load_addr,
52 lldb::addr_t load_addr,
59 lldb::addr_t load_addr);
/freebsd-12-stable/contrib/llvm-project/lldb/source/API/
DSBAddress.cpp44 SBAddress::SBAddress(lldb::addr_t load_addr, lldb::SBTarget &target) in SBAddress() argument
47 load_addr, target); in SBAddress()
49 SetLoadAddress(load_addr, target); in SBAddress()
128 void SBAddress::SetLoadAddress(lldb::addr_t load_addr, lldb::SBTarget &target) { in SetLoadAddress() argument
130 (lldb::addr_t, lldb::SBTarget &), load_addr, target); in SetLoadAddress()
135 *this = target.ResolveLoadAddress(load_addr); in SetLoadAddress()
143 m_opaque_up->SetOffset(load_addr); in SetLoadAddress()
DSBMemoryRegionInfo.cpp160 const addr_t load_addr = m_opaque_up->GetRange().base; in GetDescription() local
162 strm.Printf("[0x%16.16" PRIx64 "-0x%16.16" PRIx64 " ", load_addr, in GetDescription()
163 load_addr + m_opaque_up->GetRange().size); in GetDescription()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
DProcessMinidump.cpp426 addr_t load_addr = load_list.GetSectionLoadAddress(section_sp); in BuildMemoryRegions() local
427 if (load_addr == LLDB_INVALID_ADDRESS) in BuildMemoryRegions()
429 MemoryRegionInfo::RangeType section_range(load_addr, in BuildMemoryRegions()
432 MinidumpParser::GetMemoryRegionInfo(*m_memory_regions, load_addr); in BuildMemoryRegions()
450 Status ProcessMinidump::GetMemoryRegionInfo(lldb::addr_t load_addr, in GetMemoryRegionInfo() argument
453 region = MinidumpParser::GetMemoryRegionInfo(*m_memory_regions, load_addr); in GetMemoryRegionInfo()
544 const uint64_t load_addr = module->BaseOfImage; in ReadModuleList() local
547 load_addr, load_addr + load_size, load_size); in ReadModuleList()
590 load_addr) in ReadModuleList()
608 module_spec, load_addr, load_size); in ReadModuleList()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Architecture/Arm/
DArchitectureArm.h27 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr,
30 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Architecture/Mips/
DArchitectureMips.h31 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr,
34 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Core/
DAddress.h393 bool SetLoadAddress(lldb::addr_t load_addr, Target *target,
397 lldb::addr_t load_addr, Target *target,
401 bool SetCallableLoadAddress(lldb::addr_t load_addr, Target *target);
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/API/
DSBAddress.h26 SBAddress(lldb::addr_t load_addr, lldb::SBTarget &target);
48 void SetLoadAddress(lldb::addr_t load_addr, lldb::SBTarget &target);
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DNativeProcessFreeBSD.cpp550 Status NativeProcessFreeBSD::GetMemoryRegionInfo(lldb::addr_t load_addr, in GetMemoryRegionInfo() argument
577 if (load_addr < proc_entry_info.GetRange().GetRangeBase()) { in GetMemoryRegionInfo()
578 range_info.GetRange().SetRangeBase(load_addr); in GetMemoryRegionInfo()
580 proc_entry_info.GetRange().GetRangeBase() - load_addr); in GetMemoryRegionInfo()
586 } else if (proc_entry_info.GetRange().Contains(load_addr)) { in GetMemoryRegionInfo()
597 range_info.GetRange().SetRangeBase(load_addr); in GetMemoryRegionInfo()
717 lldb::addr_t &load_addr) { in GetFileLoadAddress() argument
718 load_addr = LLDB_INVALID_ADDRESS; in GetFileLoadAddress()
726 load_addr = it.first.GetRange().GetRangeBase(); in GetFileLoadAddress()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
DNativeProcessNetBSD.cpp599 Status NativeProcessNetBSD::GetMemoryRegionInfo(lldb::addr_t load_addr, in GetMemoryRegionInfo() argument
626 if (load_addr < proc_entry_info.GetRange().GetRangeBase()) { in GetMemoryRegionInfo()
627 range_info.GetRange().SetRangeBase(load_addr); in GetMemoryRegionInfo()
629 proc_entry_info.GetRange().GetRangeBase() - load_addr); in GetMemoryRegionInfo()
635 } else if (proc_entry_info.GetRange().Contains(load_addr)) { in GetMemoryRegionInfo()
646 range_info.GetRange().SetRangeBase(load_addr); in GetMemoryRegionInfo()
757 lldb::addr_t &load_addr) { in GetFileLoadAddress() argument
758 load_addr = LLDB_INVALID_ADDRESS; in GetFileLoadAddress()
766 load_addr = it.first.GetRange().GetRangeBase(); in GetFileLoadAddress()
/freebsd-12-stable/sbin/pfctl/
Dpfctl_table.c64 static int load_addr(struct pfr_buffer *, int, char *[], char *, int);
203 if (load_addr(&b, argc, argv, file, 0)) in pfctl_table()
218 if (load_addr(&b, argc, argv, file, 0)) in pfctl_table()
232 if (load_addr(&b, argc, argv, file, 0)) in pfctl_table()
325 if (load_addr(&b, argc, argv, file, 1)) in pfctl_table()
416 load_addr(struct pfr_buffer *b, int argc, char *argv[], char *file, in load_addr() function

123