| /openbmc/qemu/include/semihosting/ |
| H A D | uaccess.h | 29 int ret_ = cpu_memory_rw_debug(env_cpu(env), (addr), \ 40 int ret_ = cpu_memory_rw_debug(env_cpu(env), (addr), \ 51 int ret_ = cpu_memory_rw_debug(env_cpu(env), (addr), \ 69 cpu_memory_rw_debug(env_cpu(env), (addr), &val_, sizeof(val_), 1); }) 78 cpu_memory_rw_debug(env_cpu(env), (addr), &val_, sizeof(val_), 1); })
|
| /openbmc/qemu/semihosting/ |
| H A D | uaccess.c | 22 if (cpu_memory_rw_debug(env_cpu(env), addr, p, len, 0)) { in uaccess_lock_user() 51 if (cpu_memory_rw_debug(env_cpu(env), addr, &c, 1, 0)) { in uaccess_strlen_user() 91 cpu_memory_rw_debug(env_cpu(env), addr, p, len, 1); in uaccess_unlock_user()
|
| H A D | arm-compat-semi.c | 308 if (cpu_memory_rw_debug(cs, common_semi_flen_buf(cs) + in common_semi_flen_fstat_cb()
|
| /openbmc/qemu/dump/ |
| H A D | win_dump.c | 106 ret = cpu_memory_rw_debug(cpu, addr, x64 ? (void *)&ptr64 : (void *)&ptr32, in cpu_read_ptr() 116 if (cpu_memory_rw_debug(first_cpu, in patch_mm_pfn_database() 136 if (cpu_memory_rw_debug(first_cpu, KiBugcheckData, in patch_bugcheck_data() 211 if (cpu_memory_rw_debug(first_cpu, in check_kdbg() 266 if (cpu_memory_rw_debug(first_cpu, in patch_and_save_context() 379 if (cpu_memory_rw_debug(first_cpu, Context, in patch_and_save_context() 385 if (cpu_memory_rw_debug(first_cpu, Context, in patch_and_save_context() 401 if (cpu_memory_rw_debug(first_cpu, saved_ctx[i].addr, in restore_context()
|
| /openbmc/qemu/hw/i386/ |
| H A D | vapic.c | 242 if (cpu_memory_rw_debug(cs, ip - instr->length, opcode, in evaluate_tpr_instruction() 253 if (cpu_memory_rw_debug(cs, ip, opcode, sizeof(opcode), 0) < 0) { in evaluate_tpr_instruction() 270 if (cpu_memory_rw_debug(cs, ip + instr->addr_offset, in evaluate_tpr_instruction() 358 if (cpu_memory_rw_debug(CPU(cpu), env->segs[R_FS].base, in get_kpcr_number() 388 cpu_memory_rw_debug(CPU(cpu), addr, &byte, 1, 1); in patch_byte() 397 cpu_memory_rw_debug(CPU(cpu), ip + 1, (void *)&offset, sizeof(offset), 1); in patch_call() 414 cpu_memory_rw_debug(cs, ip, opcode, sizeof(opcode), 0); in do_patch_instruction() 433 cpu_memory_rw_debug(cs, ip + 6, (void *)&imm32, sizeof(imm32), 0); in do_patch_instruction() 434 cpu_memory_rw_debug(cs, ip + 1, (void *)&imm32, sizeof(imm32), 1); in do_patch_instruction()
|
| /openbmc/qemu/target/xtensa/ |
| H A D | xtensa-semi.c | 292 rc = cpu_memory_rw_debug(cs, regs[3] + i, in HELPER() 391 cpu_memory_rw_debug(cs, in HELPER() 397 cpu_memory_rw_debug(cs, in HELPER()
|
| /openbmc/qemu/disas/ |
| H A D | disas-mon.c | 23 int r = cpu_memory_rw_debug(s->cpu, memaddr, myaddr, length, 0); in virtual_read_memory()
|
| /openbmc/qemu/include/exec/ |
| H A D | cpu-common.h | 171 int cpu_memory_rw_debug(CPUState *cpu, vaddr addr,
|
| /openbmc/qemu/plugins/ |
| H A D | api.c | 470 int result = cpu_memory_rw_debug(current_cpu, addr, data->data, in qemu_plugin_read_memory_vaddr() 488 int result = cpu_memory_rw_debug(current_cpu, addr, data->data, in qemu_plugin_write_memory_vaddr()
|
| /openbmc/qemu/target/riscv/kvm/ |
| H A D | kvm-cpu.c | 2138 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 2, 0)) { in kvm_arch_insert_sw_breakpoint() 2143 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 0) in kvm_arch_insert_sw_breakpoint() 2144 || cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&ebreak_insn, 4, 1)) { in kvm_arch_insert_sw_breakpoint() 2148 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&c_ebreak_insn, 2, 1)) { in kvm_arch_insert_sw_breakpoint() 2162 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&ebreak, 4, 0) || in kvm_arch_remove_sw_breakpoint() 2164 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 1)) { in kvm_arch_remove_sw_breakpoint() 2168 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&c_ebreak, 2, 0) || in kvm_arch_remove_sw_breakpoint() 2170 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 2, 1)) { in kvm_arch_remove_sw_breakpoint()
|
| /openbmc/qemu/target/loongarch/kvm/ |
| H A D | kvm.c | 1308 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 0) || in kvm_arch_insert_sw_breakpoint() 1309 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&brk_insn, 4, 1)) { in kvm_arch_insert_sw_breakpoint() 1320 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&brk, 4, 0) || in kvm_arch_remove_sw_breakpoint() 1322 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 1)) { in kvm_arch_remove_sw_breakpoint()
|
| /openbmc/qemu/target/sparc/ |
| H A D | mmu_helper.c | 434 if (cpu_memory_rw_debug(cs, addr, buf, len1, is_write) != 0) { in sparc_cpu_memory_rw_debug() 470 return cpu_memory_rw_debug(cs, addr, buf, len, is_write); in sparc_cpu_memory_rw_debug()
|
| /openbmc/qemu/target/i386/ |
| H A D | helper.c | 581 || cpu_memory_rw_debug(cs, ptr, (uint8_t *)&e1, sizeof(e1), 0) != 0 in cpu_x86_get_descr_debug() 582 || cpu_memory_rw_debug(cs, ptr+4, (uint8_t *)&e2, sizeof(e2), 0) != 0) in cpu_x86_get_descr_debug()
|
| H A D | cpu-dump.c | 562 if (cpu_memory_rw_debug(cs, base - offs + i, &code, 1, 0) == 0) { in x86_cpu_dump_state()
|
| /openbmc/qemu/gdbstub/ |
| H A D | user-target.c | 239 return cpu_memory_rw_debug(cpu, addr, buf, len, is_write); in target_memory_rw_debug()
|
| H A D | system.c | 473 return cpu_memory_rw_debug(cpu, addr, buf, len, is_write); in gdb_target_memory_rw_debug()
|
| H A D | user.c | 749 return cpu_memory_rw_debug(cpu, addr, buf, len, is_write); in gdb_target_memory_rw_debug()
|
| /openbmc/qemu/monitor/ |
| H A D | hmp-cmds-target.c | 185 if (cpu_memory_rw_debug(cs, addr, buf, l, 0) < 0) { in memory_dump()
|
| /openbmc/qemu/target/i386/whpx/ |
| H A D | whpx-all.c | 1268 rc = cpu_memory_rw_debug(cpu, in whpx_apply_breakpoints() 1276 rc = cpu_memory_rw_debug(cpu, in whpx_apply_breakpoints() 1291 rc = cpu_memory_rw_debug(cpu, in whpx_apply_breakpoints() 1699 cpu_memory_rw_debug(cpu, in whpx_vcpu_run() 2029 cpu_memory_rw_debug(cpu, in whpx_vcpu_run()
|
| /openbmc/qemu/target/arm/ |
| H A D | kvm.c | 2407 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 0) || in kvm_arch_insert_sw_breakpoint() 2408 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&brk_insn, 4, 1)) { in kvm_arch_insert_sw_breakpoint() 2418 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&brk, 4, 0) || in kvm_arch_remove_sw_breakpoint() 2420 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 1)) { in kvm_arch_remove_sw_breakpoint()
|
| /openbmc/qemu/target/arm/hvf/ |
| H A D | hvf.c | 2176 if (cpu_memory_rw_debug(cpu, bp->pc, (uint8_t *)&bp->saved_insn, 4, 0) || in hvf_arch_insert_sw_breakpoint() 2177 cpu_memory_rw_debug(cpu, bp->pc, (uint8_t *)&brk_insn, 4, 1)) { in hvf_arch_insert_sw_breakpoint() 2187 if (cpu_memory_rw_debug(cpu, bp->pc, (uint8_t *)&brk, 4, 0) || in hvf_arch_remove_sw_breakpoint() 2189 cpu_memory_rw_debug(cpu, bp->pc, (uint8_t *)&bp->saved_insn, 4, 1)) { in hvf_arch_remove_sw_breakpoint()
|
| /openbmc/qemu/system/ |
| H A D | cpus.c | 848 if (cpu_memory_rw_debug(cpu, addr, buf, l, 0) != 0) { in qmp_memsave()
|
| /openbmc/qemu/target/s390x/kvm/ |
| H A D | kvm.c | 868 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, in kvm_arch_insert_sw_breakpoint() 870 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)sw_bp_inst, sw_bp_ilen, 1)) { in kvm_arch_insert_sw_breakpoint() 880 if (cpu_memory_rw_debug(cs, bp->pc, t, sw_bp_ilen, 0)) { in kvm_arch_remove_sw_breakpoint() 884 } else if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, in kvm_arch_remove_sw_breakpoint()
|
| /openbmc/qemu/docs/devel/ |
| H A D | loads-stores.rst | 468 ``cpu_memory_rw_debug`` 482 ``cpu_memory_rw_debug``
|
| /openbmc/qemu/target/ppc/ |
| H A D | kvm.c | 1392 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, in kvm_arch_insert_sw_breakpoint() 1394 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&sc, sizeof(sc), 1)) { in kvm_arch_insert_sw_breakpoint() 1405 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&sc, sizeof(sc), 0) || in kvm_arch_remove_sw_breakpoint() 1407 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, in kvm_arch_remove_sw_breakpoint()
|