Home
last modified time | relevance | path

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

12

/NextBSD/sys/contrib/octeon-sdk/
HDcvmx-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 …]
HDcvmx-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 …]
/NextBSD/contrib/llvm/tools/lldb/source/Target/
HDSectionLoadList.cpp79 SectionLoadList::SetSectionLoadAddress (const lldb::SectionSP &section, addr_t load_addr, bool warn… in SetSectionLoadAddress() argument
93 section->GetName().AsCString(), load_addr, in SetSectionLoadAddress()
105 if (load_addr == sta_pos->second) in SetSectionLoadAddress()
108 sta_pos->second = load_addr; in SetSectionLoadAddress()
111 m_sect_to_addr[section.get()] = load_addr; in SetSectionLoadAddress()
114 addr_to_sect_collection::iterator ats_pos = m_addr_to_sect.find(load_addr); in SetSectionLoadAddress()
136 load_addr, in SetSectionLoadAddress()
147 m_addr_to_sect[load_addr] = section; in SetSectionLoadAddress()
158 load_addr); in SetSectionLoadAddress()
188 addr_t load_addr = sta_pos->second; in SetSectionUnloaded() local
[all …]
HDSectionLoadHistory.cpp127 SectionLoadHistory::ResolveLoadAddress (uint32_t stop_id, addr_t load_addr, Address &so_addr) in ResolveLoadAddress() argument
133 return section_load_list->ResolveLoadAddress (load_addr, so_addr); in ResolveLoadAddress()
139 addr_t load_addr, in SetSectionLoadAddress() argument
145 return section_load_list->SetSectionLoadAddress(section_sp, load_addr, warn_multiple); in SetSectionLoadAddress()
158 …History::SetSectionUnloaded (uint32_t stop_id, const lldb::SectionSP &section_sp, addr_t load_addr) in SetSectionUnloaded() argument
163 return section_load_list->SetSectionUnloaded (section_sp, load_addr); in SetSectionUnloaded()
HDTarget.cpp1417 addr_t load_addr = LLDB_INVALID_ADDRESS; in ReadMemory() local
1436load_addr = addr.GetOffset(); // "addr" doesn't have a section, so its offset is the load address in ReadMemory()
1437 section_load_list.ResolveLoadAddress (load_addr, resolved_addr); in ReadMemory()
1453 if (load_addr == LLDB_INVALID_ADDRESS) in ReadMemory()
1454 load_addr = resolved_addr.GetLoadAddress (this); in ReadMemory()
1456 if (load_addr == LLDB_INVALID_ADDRESS) in ReadMemory()
1469 bytes_read = m_process_sp->ReadMemory(load_addr, dst, dst_len, error); in ReadMemory()
1475 … error.SetErrorStringWithFormat("read memory from 0x%" PRIx64 " failed", load_addr); in ReadMemory()
1477 … " bytes were read from memory at 0x%" PRIx64, (uint64_t)bytes_read, (uint64_t)dst_len, load_addr); in ReadMemory()
1483 *load_addr_ptr = load_addr; in ReadMemory()
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Expression/
HDMaterializer.cpp154 const lldb::addr_t load_addr = process_address + m_offset; in Materialize() local
159 (uint64_t)load_addr, in Materialize()
178 map.WriteScalarToMemory(load_addr, in Materialize()
204 const lldb::addr_t load_addr = process_address + m_offset; in Dematerialize() local
226 map.ReadPointerFromMemory(&location, load_addr, read_error); in Dematerialize()
329 const lldb::addr_t load_addr = process_address + m_offset; in DumpToLog() local
331 …dump_stream.Printf("0x%" PRIx64 ": EntityPersistentVariable (%s)\n", load_addr, m_persistent_varia… in DumpToLog()
338 map.ReadMemory(data.GetBytes(), load_addr, m_size, err); in DumpToLog()
348 … extractor.DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, load_addr); in DumpToLog()
359 map.ReadPointerFromMemory (&target_address, load_addr, err); in DumpToLog()
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Core/
HDAddressRange.cpp108 addr_t load_addr = addr.GetLoadAddress(target); in ContainsLoadAddress() local
109 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress()
112 if (load_base_addr <= load_addr) in ContainsLoadAddress()
113 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
119 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()
HDAddress.cpp358 Address::SetCallableLoadAddress (lldb::addr_t load_addr, Target *target) in SetCallableLoadAddress() argument
360 if (SetLoadAddress (load_addr, target)) in SetCallableLoadAddress()
379 Address::SetOpcodeLoadAddress (lldb::addr_t load_addr, Target *target) in SetOpcodeLoadAddress() argument
381 if (SetLoadAddress (load_addr, target)) in SetOpcodeLoadAddress()
457 addr_t load_addr = GetLoadAddress (target); in Dump() local
458 if (load_addr == LLDB_INVALID_ADDRESS) in Dump()
464 s->Address (load_addr, addr_size); in Dump()
778 addr_t load_addr = GetLoadAddress (target); in Dump() local
779 if (load_addr != LLDB_INVALID_ADDRESS) in Dump()
782 … addr_t dereferenced_load_addr = process->ReadPointerFromMemory(load_addr, memory_error); in Dump()
[all …]
HDDynamicLoader.cpp196 lldb::addr_t load_addr; in LoadModuleAtAddress() local
197 Error error = m_process->GetFileLoadAddress(file, is_loaded, load_addr); in LoadModuleAtAddress()
199 load_addr = base_addr; in LoadModuleAtAddress()
201 if ((module_sp = m_process->ReadModuleFromMemory(file, load_addr))) in LoadModuleAtAddress()
HDValueObjectMemory.cpp228 lldb::addr_t load_addr = m_address.GetLoadAddress(target); in UpdateValue() local
229 if (load_addr != LLDB_INVALID_ADDRESS) in UpdateValue()
232 m_value.GetScalar() = load_addr; in UpdateValue()
HDDisassembler.cpp1095 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in GetIndexOfNextBranchInstruction() local
1101 &load_addr); in GetIndexOfNextBranchInstruction()
1143 InstructionList::GetIndexOfInstructionAtLoadAddress (lldb::addr_t load_addr, Target &target) in GetIndexOfInstructionAtLoadAddress() argument
1146 address.SetLoadAddress(load_addr, &target); in GetIndexOfInstructionAtLoadAddress()
1167 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in ParseInstructions() local
1173 &load_addr); in ParseInstructions()
1182 const bool data_from_file = load_addr == LLDB_INVALID_ADDRESS; in ParseInstructions()
1223 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in ParseInstructions() local
1229 &load_addr); in ParseInstructions()
1231 const bool data_from_file = load_addr == LLDB_INVALID_ADDRESS; in ParseInstructions()
HDValueObjectVariable.cpp257 lldb::addr_t load_addr = so_addr.GetLoadAddress (target); in UpdateValue() local
258 if (load_addr != LLDB_INVALID_ADDRESS) in UpdateValue()
261 m_value.GetScalar() = load_addr; in UpdateValue()
/NextBSD/contrib/gdb/gdb/
HDprintcmd.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 …]
HDsolib-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()
HDwin32-nat.c519 DWORD load_addr; member
588 register_loaded_dll (const char *name, DWORD load_addr) in register_loaded_dll() argument
620 so->load_addr = load_addr; in register_loaded_dll()
621 if (VirtualQueryEx (current_process_handle, (void *) load_addr, &m, in register_loaded_dll()
625 so->end_addr = load_addr + 0x2000; /* completely arbitrary */ in register_loaded_dll()
713 if (so->next->load_addr == lpBaseOfDll) in handle_unload_dll()
734 if (address >= so->load_addr && address <= so->end_addr) in solib_address()
819 solib_symbols_add (char *name, int from_tty, CORE_ADDR load_addr) in solib_symbols_add() argument
844 addrs = get_relocated_section_addrs (abfd, load_addr); in solib_symbols_add()
863 addrs->other[0].addr = load_addr; in solib_symbols_add()
[all …]
/NextBSD/contrib/llvm/tools/lldb/include/lldb/Target/
HDSectionLoadList.h61 ResolveLoadAddress (lldb::addr_t load_addr, Address &so_addr) const;
64 …SetSectionLoadAddress (const lldb::SectionSP &section_sp, lldb::addr_t load_addr, bool warn_multip…
70 SetSectionUnloaded (const lldb::SectionSP &section_sp, lldb::addr_t load_addr);
HDSectionLoadHistory.h66 lldb::addr_t load_addr,
72 lldb::addr_t load_addr,
81 lldb::addr_t load_addr);
HDTarget.h743 CreateBreakpoint (lldb::addr_t load_addr,
900 …GetCallableLoadAddress (lldb::addr_t load_addr, lldb::AddressClass addr_class = lldb::eAddressClas…
915 …GetOpcodeLoadAddress (lldb::addr_t load_addr, lldb::AddressClass addr_class = lldb::eAddressClassI…
1234 ResolveFileAddress (lldb::addr_t load_addr,
1238 ResolveLoadAddress (lldb::addr_t load_addr,
1244 lldb::addr_t load_addr,
1257 SetSectionUnloaded (const lldb::SectionSP &section_sp, lldb::addr_t load_addr);
/NextBSD/contrib/llvm/tools/lldb/source/API/
HDSBAddress.cpp53 SBAddress::SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target) : in SBAddress() argument
56 SetLoadAddress (load_addr, target); in SBAddress()
147 SBAddress::SetLoadAddress (lldb::addr_t load_addr, lldb::SBTarget &target) in SetLoadAddress() argument
152 *this = target.ResolveLoadAddress(load_addr); in SetLoadAddress()
161 m_opaque_ap->SetOffset(load_addr); in SetLoadAddress()
/NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/
HDAddress.h425 SetLoadAddress (lldb::addr_t load_addr, Target *target);
428 SetOpcodeLoadAddress (lldb::addr_t load_addr, Target *target);
431 SetCallableLoadAddress (lldb::addr_t load_addr, Target *target);
HDAddressRange.h181 ContainsLoadAddress (lldb::addr_t load_addr, Target *target) const;
/NextBSD/contrib/llvm/tools/lldb/include/lldb/API/
HDSBAddress.h29 SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target);
52 SetLoadAddress (lldb::addr_t load_addr,
/NextBSD/sbin/pfctl/
HDpfctl_table.c62 static int load_addr(struct pfr_buffer *, int, char *[], char *, int);
201 if (load_addr(&b, argc, argv, file, 0)) in pfctl_table()
216 if (load_addr(&b, argc, argv, file, 0)) in pfctl_table()
230 if (load_addr(&b, argc, argv, file, 0)) in pfctl_table()
323 if (load_addr(&b, argc, argv, file, 1)) in pfctl_table()
414 load_addr(struct pfr_buffer *b, int argc, char *argv[], char *file, in load_addr() function
/NextBSD/contrib/llvm/tools/lldb/include/lldb/Host/common/
HDNativeProcessProtocol.h88 GetMemoryRegionInfo (lldb::addr_t load_addr, MemoryRegionInfo &range_info);
295 GetFileLoadAddress(const llvm::StringRef& file_name, lldb::addr_t& load_addr) = 0;
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
HDDYLDRendezvous.cpp422 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in ReadSOEntryFromMemory() local
424 Error error = m_process->GetFileLoadAddress(entry.file_spec, is_loaded, load_addr); in ReadSOEntryFromMemory()
426 entry.base_addr = load_addr; in ReadSOEntryFromMemory()

12