/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); })
|
/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()
|
/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()
|
/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()
|
/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()
|
/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()
|
/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 2123 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 2, 0)) { in kvm_arch_insert_sw_breakpoint() 2128 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 0) in kvm_arch_insert_sw_breakpoint() 2129 || cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&ebreak_insn, 4, 1)) { in kvm_arch_insert_sw_breakpoint() 2133 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&c_ebreak_insn, 2, 1)) { in kvm_arch_insert_sw_breakpoint() 2147 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&ebreak, 4, 0) || in kvm_arch_remove_sw_breakpoint() 2149 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 1)) { in kvm_arch_remove_sw_breakpoint() 2153 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&c_ebreak, 2, 0) || in kvm_arch_remove_sw_breakpoint() 2155 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 2, 1)) { in kvm_arch_remove_sw_breakpoint()
|
/qemu/include/exec/ |
H A D | cpu-common.h | 170 int cpu_memory_rw_debug(CPUState *cpu, vaddr addr,
|
/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()
|
/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()
|
/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()
|
/qemu/target/i386/whpx/ |
H A D | whpx-all.c | 1266 rc = cpu_memory_rw_debug(cpu, in whpx_apply_breakpoints() 1274 rc = cpu_memory_rw_debug(cpu, in whpx_apply_breakpoints() 1289 rc = cpu_memory_rw_debug(cpu, in whpx_apply_breakpoints() 1696 cpu_memory_rw_debug(cpu, in whpx_vcpu_run() 2026 cpu_memory_rw_debug(cpu, in whpx_vcpu_run()
|
/qemu/monitor/ |
H A D | hmp-cmds-target.c | 185 if (cpu_memory_rw_debug(cs, addr, buf, l, 0) < 0) { in memory_dump()
|
/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 | 472 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()
|
/qemu/target/arm/ |
H A D | kvm.c | 2392 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 0) || in kvm_arch_insert_sw_breakpoint() 2393 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&brk_insn, 4, 1)) { in kvm_arch_insert_sw_breakpoint() 2403 if (cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&brk, 4, 0) || in kvm_arch_remove_sw_breakpoint() 2405 cpu_memory_rw_debug(cs, bp->pc, (uint8_t *)&bp->saved_insn, 4, 1)) { in kvm_arch_remove_sw_breakpoint()
|
/qemu/plugins/ |
H A D | api.c | 446 int result = cpu_memory_rw_debug(current_cpu, addr, data->data, in qemu_plugin_read_memory_vaddr()
|
/qemu/target/arm/hvf/ |
H A D | hvf.c | 2150 if (cpu_memory_rw_debug(cpu, bp->pc, (uint8_t *)&bp->saved_insn, 4, 0) || in hvf_arch_insert_sw_breakpoint() 2151 cpu_memory_rw_debug(cpu, bp->pc, (uint8_t *)&brk_insn, 4, 1)) { in hvf_arch_insert_sw_breakpoint() 2161 if (cpu_memory_rw_debug(cpu, bp->pc, (uint8_t *)&brk, 4, 0) || in hvf_arch_remove_sw_breakpoint() 2163 cpu_memory_rw_debug(cpu, bp->pc, (uint8_t *)&bp->saved_insn, 4, 1)) { in hvf_arch_remove_sw_breakpoint()
|
/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()
|
/qemu/system/ |
H A D | cpus.c | 850 if (cpu_memory_rw_debug(cpu, addr, buf, l, 0) != 0) { in qmp_memsave()
|
/qemu/docs/devel/ |
H A D | loads-stores.rst | 468 ``cpu_memory_rw_debug`` 482 ``cpu_memory_rw_debug``
|
/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()
|