Home
last modified time | relevance | path

Searched refs:memaddr (Results 1 – 9 of 9) sorted by relevance

/external/qemu/
Ddisas.c17 buffer_read_memory(bfd_vma memaddr, bfd_byte *myaddr, int length, in buffer_read_memory() argument
20 if (memaddr < info->buffer_vma in buffer_read_memory()
21 || memaddr + length > info->buffer_vma + info->buffer_length) in buffer_read_memory()
24 memcpy (myaddr, info->buffer + (memaddr - info->buffer_vma), length); in buffer_read_memory()
31 target_read_memory (bfd_vma memaddr, in target_read_memory() argument
36 cpu_memory_rw_debug(cpu_single_env, memaddr, myaddr, length, 0); in target_read_memory()
43 perror_memory (int status, bfd_vma memaddr, struct disassemble_info *info) in perror_memory() argument
52 "Address 0x%" PRIx64 " is out of bounds.\n", memaddr); in perror_memory()
344 monitor_read_memory (bfd_vma memaddr, bfd_byte *myaddr, int length, in monitor_read_memory() argument
348 cpu_physical_memory_read(memaddr, myaddr, length); in monitor_read_memory()
[all …]
Dmips-dis.c3968 print_insn_mips (bfd_vma memaddr, in print_insn_mips() argument
4052 print_insn_args (d, word, memaddr, info, op); in print_insn_mips()
4073 _print_insn_mips (bfd_vma memaddr, in _print_insn_mips() argument
4087 if (memaddr & 0x01) in _print_insn_mips()
4088 return print_insn_mips16 (memaddr, info); in _print_insn_mips()
4097 return print_insn_mips16 (memaddr, info); in _print_insn_mips()
4101 status = (*info->read_memory_func) (memaddr, buffer, INSNLEN, info); in _print_insn_mips()
4111 return print_insn_mips (memaddr, insn, info); in _print_insn_mips()
4115 (*info->memory_error_func) (status, memaddr, info); in _print_insn_mips()
4121 print_insn_big_mips (bfd_vma memaddr, struct disassemble_info *info) in print_insn_big_mips() argument
[all …]
Ddis-asm.h296 (bfd_vma memaddr, bfd_byte *myaddr, int length,
304 (int status, bfd_vma memaddr, struct disassemble_info *info);
Dppc-dis.c5157 print_insn_ppc (bfd_vma memaddr, struct disassemble_info *info) in print_insn_ppc() argument
5160 return print_insn_powerpc (memaddr, info, 1, dialect); in print_insn_ppc()
5166 print_insn_big_powerpc (bfd_vma memaddr, struct disassemble_info *info) in print_insn_big_powerpc() argument
5169 return print_insn_powerpc (memaddr, info, 1, dialect); in print_insn_big_powerpc()
5175 print_insn_little_powerpc (bfd_vma memaddr, struct disassemble_info *info) in print_insn_little_powerpc() argument
5178 return print_insn_powerpc (memaddr, info, 0, dialect); in print_insn_little_powerpc()
5184 print_insn_rs6000 (bfd_vma memaddr, struct disassemble_info *info) in print_insn_rs6000() argument
5186 return print_insn_powerpc (memaddr, info, 1, PPC_OPCODE_POWER); in print_insn_rs6000()
5242 print_insn_powerpc (bfd_vma memaddr, in print_insn_powerpc() argument
5257 status = (*info->read_memory_func) (memaddr, buffer, 4, info); in print_insn_powerpc()
[all …]
/external/grub/stage2/
Dboot.c592 unsigned loaded = 0, memaddr, memsiz, filesiz; in load_image() local
611 memaddr = RAW_ADDR (phdr->p_paddr & 0xFFFFFF); in load_image()
613 memaddr = RAW_ADDR (phdr->p_paddr); in load_image()
616 if (memaddr < RAW_ADDR (0x100000)) in load_image()
625 + memaddr - phdr->p_vaddr); in load_image()
631 if (cur_addr < memaddr + memsiz) in load_image()
632 cur_addr = memaddr + memsiz; in load_image()
633 printf (", <0x%x:0x%x:0x%x>", memaddr, filesiz, in load_image()
639 if (memcheck (memaddr, memsiz) in load_image()
640 && grub_read ((char *) memaddr, filesiz) == filesiz) in load_image()
[all …]
/external/valgrind/main/coregrind/m_gdbserver/
Dtarget.h180 extern int valgrind_read_memory (CORE_ADDR memaddr,
186 extern int valgrind_write_memory (CORE_ADDR memaddr,
Dtarget.c418 int valgrind_read_memory (CORE_ADDR memaddr, unsigned char *myaddr, int len) in valgrind_read_memory() argument
420 const void *sourceaddr = C2v (memaddr); in valgrind_read_memory()
431 int valgrind_write_memory (CORE_ADDR memaddr, const unsigned char *myaddr, int len) in valgrind_write_memory() argument
433 void *targetaddr = C2v (memaddr); in valgrind_write_memory()
/external/valgrind/main/coregrind/
Dvgdb.c312 int ptrace_read_memory (pid_t inferior_pid, CORE_ADDR memaddr, in ptrace_read_memory() argument
317 register CORE_ADDR addr = memaddr & -(CORE_ADDR) sizeof (PTRACE_XFER_TYPE); in ptrace_read_memory()
320 = (((memaddr + len) - addr) + sizeof (PTRACE_XFER_TYPE) - 1) in ptrace_read_memory()
337 (char *) buffer + (memaddr & (sizeof (PTRACE_XFER_TYPE) - 1)), len); in ptrace_read_memory()
348 int ptrace_write_memory (pid_t inferior_pid, CORE_ADDR memaddr, in ptrace_write_memory() argument
353 register CORE_ADDR addr = memaddr & -(CORE_ADDR) sizeof (PTRACE_XFER_TYPE); in ptrace_write_memory()
356 = (((memaddr + len) - addr) + sizeof (PTRACE_XFER_TYPE) - 1) in ptrace_write_memory()
366 PDEBUG(1, " to %p\n", (void *) memaddr); in ptrace_write_memory()
384 memcpy ((char *) buffer + (memaddr & (sizeof (PTRACE_XFER_TYPE) - 1)), in ptrace_write_memory()
/external/grub/
DChangeLog8694 address before actually writing data to memaddr.