Home
last modified time | relevance | path

Searched refs:cpu_single_env (Results 1 – 25 of 32) sorted by relevance

12

/external/qemu/hw/
Dgoldfish_tty.c83 cpu_abort (cpu_single_env, "goldfish_tty_read: Bad offset %x\n", offset); in goldfish_tty_read()
135 cpu_synchronize_state(cpu_single_env, 0); in goldfish_tty_write()
137 cpu_memory_rw_debug(cpu_single_env, buf, (uint8_t*)temp, to_write, 0); in goldfish_tty_write()
148 …cpu_abort (cpu_single_env, "goldfish_tty_write: reading more data than available %d %d\n", s->ptr_… in goldfish_tty_write()
151 cpu_synchronize_state(cpu_single_env, 0); in goldfish_tty_write()
153 cpu_memory_rw_debug(cpu_single_env,s->ptr, s->data, s->ptr_len,1); in goldfish_tty_write()
163 cpu_abort (cpu_single_env, "goldfish_tty_write: Bad command %x\n", value); in goldfish_tty_write()
176 cpu_abort (cpu_single_env, "goldfish_tty_write: Bad offset %x\n", offset); in goldfish_tty_write()
Dgoldfish_device.c49 … cpu_abort (cpu_single_env, "goldfish_device_set_irq: Bad irq %d >= %d\n", irq, dev->irq_count); in goldfish_device_set_irq()
136 cpu_abort (cpu_single_env, "goldfish_bus_read: Bad offset %x\n", offset); in goldfish_bus_read()
163 … cpu_abort (cpu_single_env, "goldfish_bus_write: Bad PDEV_BUS_OP value %x\n", value); in goldfish_bus_write()
170 cpu_synchronize_state(cpu_single_env, 0); in goldfish_bus_write()
172 … cpu_memory_rw_debug(cpu_single_env, value, (void*)s->current->name, strlen(s->current->name), 1); in goldfish_bus_write()
176 cpu_abort (cpu_single_env, "goldfish_bus_write: Bad offset %x\n", offset); in goldfish_bus_write()
Dgoldfish_switch.c83 cpu_abort (cpu_single_env, "goldfish_switch_read: Bad offset %x\n", offset); in goldfish_switch_read()
96 cpu_memory_rw_debug(cpu_single_env, value, (void*)s->name, strlen(s->name), 1); in goldfish_switch_write()
108 cpu_abort (cpu_single_env, "goldfish_switch_write: write to SW_STATE on input\n"); in goldfish_switch_write()
119 cpu_abort (cpu_single_env, "goldfish_switch_write: Bad offset %x\n", offset); in goldfish_switch_write()
Dgoldfish_nand.c387 cpu_synchronize_state(cpu_single_env, 0); in nand_dev_read_file()
389 cpu_memory_rw_debug(cpu_single_env, data, dev->data, read_len, 1); in nand_dev_read_file()
410 cpu_synchronize_state(cpu_single_env, 0); in nand_dev_write_file()
412 cpu_memory_rw_debug(cpu_single_env, data, dev->data, write_len, 0); in nand_dev_write_file()
488 cpu_synchronize_state(cpu_single_env, 0); in nand_dev_do_cmd()
490 cpu_memory_rw_debug(cpu_single_env, s->data, (uint8_t*)dev->devname, size, 1); in nand_dev_do_cmd()
502 cpu_synchronize_state(cpu_single_env, 0); in nand_dev_do_cmd()
504 cpu_memory_rw_debug(cpu_single_env,s->data, &dev->data[addr], size, 1); in nand_dev_do_cmd()
518 cpu_synchronize_state(cpu_single_env, 0); in nand_dev_do_cmd()
520 cpu_memory_rw_debug(cpu_single_env,s->data, &dev->data[addr], size, 0); in nand_dev_do_cmd()
[all …]
Dgoldfish_trace.c148 cpu_memory_rw_debug(cpu_single_env, value, (uint8_t*)exec_arg, cmdlen, 0); in trace_dev_write()
268 cpu_single_env->exception_index = EXCP_HLT; in trace_dev_write()
269 cpu_single_env->halted = 1; in trace_dev_write()
353 cpu_abort(cpu_single_env, "trace_dev_write: Bad offset %x\n", offset); in trace_dev_write()
375 cpu_abort(cpu_single_env, "trace_dev_read: Bad offset %x\n", offset); in trace_dev_read()
Dgoldfish_timer.c86 cpu_abort (cpu_single_env, "goldfish_timer_read: Bad offset %x\n", offset); in goldfish_timer_read()
118 cpu_abort (cpu_single_env, "goldfish_timer_write: Bad offset %x\n", offset); in goldfish_timer_write()
170 cpu_abort (cpu_single_env, "goldfish_rtc_read: Bad offset %x\n", offset); in goldfish_rtc_read()
194 cpu_abort (cpu_single_env, "goldfish_rtc_write: Bad offset %x\n", offset); in goldfish_rtc_write()
Dgoldfish_mmc.c291 cpu_abort(cpu_single_env, "SDCard too small, must be at least 9MB\n"); in goldfish_mmc_do_command()
295 cpu_abort(cpu_single_env, "SDCard too large.\n"); in goldfish_mmc_do_command()
440 cpu_abort(cpu_single_env, "goldfish_mmc_read: Bad offset %x\n", offset); in goldfish_mmc_read()
486 cpu_abort (cpu_single_env, "goldfish_mmc_write: Bad offset %x\n", offset); in goldfish_mmc_write()
Dgoldfish_interrupt.c112 cpu_abort (cpu_single_env, "goldfish_int_read: Bad offset %x\n", offset); in goldfish_int_read()
144 cpu_abort (cpu_single_env, "goldfish_int_write: Bad offset %x\n", offset); in goldfish_int_write()
Dgoldfish_battery.c111 cpu_abort (cpu_single_env, "goldfish_battery_read: Bad offset %x\n", offset); in goldfish_battery_read()
129 cpu_abort (cpu_single_env, "goldfish_audio_write: Bad offset %x\n", offset); in goldfish_battery_write()
Darmv7m_nvic.c153 return cpu_single_env->cp15.c0_cpuid; in nvic_readl()
188 return cpu_single_env->v7m.vecbase; in nvic_readl()
321 cpu_single_env->v7m.vecbase = value & 0xffffff80; in nvic_writel()
Dgoldfish_audio.c394 cpu_abort (cpu_single_env, "goldfish_audio_read: Bad offset %x\n", offset); in goldfish_audio_read()
453 cpu_abort (cpu_single_env, "goldfish_audio_write: Bad offset %x\n", offset); in goldfish_audio_write()
Dgoldfish_fb.c589 cpu_abort (cpu_single_env, "goldfish_fb_read: Bad offset %x\n", offset); in goldfish_fb_read()
631 cpu_abort (cpu_single_env, "goldfish_fb_write: Bad offset %x\n", offset); in goldfish_fb_write()
Dapic.c674 env = cpu_single_env; in apic_mem_readl()
754 env = cpu_single_env; in apic_mem_writel()
Ddma.c450 CPUState *env = cpu_single_env; in DMA_schedule()
/external/qemu/
Dcpus.c222 CPUState *env = cpu_single_env; in qemu_notify_event()
395 return (cpu_single_env != NULL); in qemu_cpu_self()
400 if (cpu_single_env) in cpu_signal()
401 cpu_exit(cpu_single_env); in cpu_signal()
571 if (cpu_single_env) { in vm_stop()
572 cpu_exit(cpu_single_env); in vm_stop()
573 cpu_single_env->stop = 1; in vm_stop()
Dcpu-exec.c46 #define env cpu_single_env
260 cpu_single_env = env1; in cpu_exec()
308 env = cpu_single_env; in cpu_exec()
309 #define env cpu_single_env in cpu_exec()
447 env = cpu_single_env; in cpu_exec()
448 #define env cpu_single_env in cpu_exec()
662 env = cpu_single_env; in cpu_exec()
663 #define env cpu_single_env in cpu_exec()
736 cpu_single_env = NULL; in cpu_exec()
816 if (cpu_single_env) in handle_cpu_signal()
[all …]
Dsoftmmu_outside_jit.c30 #define env cpu_single_env
Dsoftmmu_outside_jit.h47 #define env cpu_single_env
Dexec.c127 CPUState *cpu_single_env; variable
951 CPUState *env = cpu_single_env; in tb_invalidate_phys_page_range()
1060 cpu_single_env->mem_io_vaddr, len, in tb_invalidate_phys_page_fast()
1061 cpu_single_env->eip, in tb_invalidate_phys_page_fast()
1062 cpu_single_env->eip + (long)cpu_single_env->segs[R_CS].base); in tb_invalidate_phys_page_fast()
1088 CPUState *env = cpu_single_env; in tb_invalidate_phys_page()
2881 tlb_set_dirty(cpu_single_env, cpu_single_env->mem_io_vaddr); in notdirty_mem_writeb()
2901 tlb_set_dirty(cpu_single_env, cpu_single_env->mem_io_vaddr); in notdirty_mem_writew()
2921 tlb_set_dirty(cpu_single_env, cpu_single_env->mem_io_vaddr); in notdirty_mem_writel()
2939 CPUState *env = cpu_single_env; in check_watchpoint()
[all …]
Dexec-all.h360 #define env cpu_single_env
Ddisas.c36 cpu_memory_rw_debug(cpu_single_env, memaddr, myaddr, length, 0); in target_read_memory()
Dkqemu.c958 env = cpu_single_env; in qpi_mem_readl()
971 env = cpu_single_env; in qpi_mem_writel()
Dqemu-timer.c498 if (qemu_cpu_has_work(cpu_single_env) || !active_timers[clock->type]) { in qemu_clock_warp()
1378 CPUState *env = cpu_single_env;; in cpu_get_icount()
/external/qemu/memcheck/
Dmemcheck_util.c188 target_ulong tlb_addr = cpu_single_env->tlb_table[1][index].addr_write; in invalidate_tlb_cache()
191 cpu_single_env->tlb_table[1][index].addr_write ^= TARGET_PAGE_MASK; in invalidate_tlb_cache()
193 tlb_addr = cpu_single_env->tlb_table[1][index].addr_read; in invalidate_tlb_cache()
196 cpu_single_env->tlb_table[1][index].addr_read ^= TARGET_PAGE_MASK; in invalidate_tlb_cache()
/external/qemu/target-i386/
Dkvm.c897 if (cpu_single_env->singlestep_enabled) in kvm_arch_debug()
908 cpu_single_env->watchpoint_hit = &hw_watchpoint; in kvm_arch_debug()
914 cpu_single_env->watchpoint_hit = &hw_watchpoint; in kvm_arch_debug()
920 } else if (kvm_find_sw_breakpoint(cpu_single_env, arch_info->pc)) in kvm_arch_debug()
924 kvm_update_guest_debug(cpu_single_env, in kvm_arch_debug()

12