Home
last modified time | relevance | path

Searched defs:env (Results 1 – 25 of 168) sorted by relevance

1234567

/illumos-kvm-cmd/target-s390x/
H A Dkvm.c82 int kvm_arch_init_vcpu(CPUState *env) in kvm_arch_init_vcpu()
93 void kvm_arch_reset_vcpu(CPUState *env) in kvm_arch_reset_vcpu()
98 int kvm_arch_put_registers(CPUState *env, int level) in kvm_arch_put_registers()
124 int kvm_arch_get_registers(CPUState *env) in kvm_arch_get_registers()
172 int kvm_arch_pre_run(CPUState *env, struct kvm_run *run) in kvm_arch_pre_run()
182 int kvm_arch_process_irqchip_events(CPUState *env) in kvm_arch_process_irqchip_events()
232 static void setcc(CPUState *env, uint64_t cc) in setcc()
332 static int s390_cpu_restart(CPUState *env) in s390_cpu_restart()
349 static int s390_cpu_initial_reset(CPUState *env) in s390_cpu_initial_reset()
448 static int handle_intercept(CPUState *env) in handle_intercept()
[all …]
/illumos-kvm-cmd/hw/
H A Dmips_timer.c30 uint32_t cpu_mips_get_random (CPUState *env) in cpu_mips_get_random()
45 static void cpu_mips_timer_update(CPUState *env) in cpu_mips_timer_update()
58 static void cpu_mips_timer_expire(CPUState *env) in cpu_mips_timer_expire()
67 uint32_t cpu_mips_get_count (CPUState *env) in cpu_mips_get_count()
86 void cpu_mips_store_count (CPUState *env, uint32_t count) in cpu_mips_store_count()
100 void cpu_mips_store_compare (CPUState *env, uint32_t value) in cpu_mips_store_compare()
110 void cpu_mips_start_count(CPUState *env) in cpu_mips_start_count()
115 void cpu_mips_stop_count(CPUState *env) in cpu_mips_stop_count()
124 CPUState *env; in mips_timer_cb() local
142 void cpu_mips_clock_init (CPUState *env) in cpu_mips_clock_init()
H A Dppc.c80 CPUState *env = opaque; in ppc6xx_set_irq() local
160 void ppc6xx_irq_init (CPUState *env) in ppc6xx_irq_init()
170 CPUState *env = opaque; in ppc970_set_irq() local
244 void ppc970_irq_init (CPUState *env) in ppc970_irq_init()
254 CPUState *env = opaque; in ppc40x_set_irq() local
332 CPUState *env = opaque; in ppce500_set_irq() local
698 CPUState *env = opaque; in cpu_ppc_set_tb_clk() local
780 CPUState *env; in cpu_4xx_fit_cb() local
848 CPUState *env; in cpu_4xx_pit_cb() local
870 CPUState *env; in cpu_4xx_wdt_cb() local
[all …]
H A Dalpha_palcode.c75 static void pal_reset (CPUState *env) in pal_reset()
79 static void do_swappal (CPUState *env, uint64_t palid) in do_swappal()
103 static void pal_console_call (CPUState *env, uint32_t palcode) in pal_console_call()
166 static void pal_openvms_call (CPUState *env, uint32_t palcode) in pal_openvms_call()
560 static void pal_unix_call (CPUState *env, uint32_t palcode) in pal_unix_call()
718 void call_pal (CPUState *env) in call_pal()
778 void pal_init (CPUState *env) in pal_init()
/illumos-kvm-cmd/target-ia64/
H A Dop_helper.c38 CPUState *env; in cpu_ia64_init() local
51 void cpu_reset(CPUIA64State *env) in cpu_reset()
55 static inline void set_feature(CPUIA64State *env, int feature) in set_feature()
59 void cpu_ia64_set_model(CPUIA64State *env, uint32_t id) in cpu_ia64_set_model()
63 void cpu_ia64_close(CPUIA64State *env) in cpu_ia64_close()
70 void switch_mode(CPUState *env, int mode) in switch_mode()
75 void do_interrupt(CPUIA64State *env) in do_interrupt()
83 int cpu_ia64_handle_mmu_fault (CPUState *env, target_ulong address, in cpu_ia64_handle_mmu_fault()
89 target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr) in cpu_get_phys_page_debug()
94 void cpu_dump_state(CPUState *env, FILE *f, in cpu_dump_state()
/illumos-kvm-cmd/target-i386/
H A Dkvm.c253 CPUState *env; member
327 int kvm_arch_init_vcpu(CPUState *env) in kvm_arch_init_vcpu()
480 void kvm_arch_reset_vcpu(CPUState *env) in kvm_arch_reset_vcpu()
697 static int kvm_put_fpu(CPUState *env) in kvm_put_fpu()
726 static int kvm_put_xsave(CPUState *env) in kvm_put_xsave()
764 static int kvm_put_xcrs(CPUState *env) in kvm_put_xcrs()
783 static int kvm_put_sregs(CPUState *env) in kvm_put_sregs()
912 static int kvm_get_fpu(CPUState *env) in kvm_get_fpu()
935 static int kvm_get_xsave(CPUState *env) in kvm_get_xsave()
978 static int kvm_get_xcrs(CPUState *env) in kvm_get_xcrs()
[all …]
H A Dhelper.c37 void cpu_reset(CPUX86State *env) in cpu_reset()
110 void cpu_x86_close(CPUX86State *env) in cpu_x86_close()
128 int cpu_x86_support_mca_broadcast(CPUState *env) in cpu_x86_support_mca_broadcast()
971 void hw_breakpoint_insert(CPUState *env, int index) in hw_breakpoint_insert()
1044 static void breakpoint_handler(CPUState *env) in breakpoint_handler()
1125 CPUState *env; in cpu_inject_x86_mce() local
1205 CPUX86State *env; in cpu_x86_init() local
1233 void do_cpu_init(CPUState *env) in do_cpu_init()
1242 void do_cpu_sipi(CPUState *env) in do_cpu_sipi()
1247 void do_cpu_init(CPUState *env) in do_cpu_init()
[all …]
/illumos-kvm-cmd/
H A Dcpus.c57 CPUState *env; in hw_error() local
146 CPUState *env; in any_cpu_has_work() local
267 CPUState *env = _env; in qemu_init_vcpu() local
490 CPUState *env; in qemu_tcg_wait_io_event() local
598 CPUState *env = arg; in kvm_cpu_thread_fn() local
626 CPUState *env = arg; in tcg_cpu_thread_fn() local
651 CPUState *env = _env; in qemu_cpu_kick() local
658 CPUState *env = _env; in qemu_cpu_self() local
803 CPUState *env = _env; in tcg_init_vcpu() local
832 CPUState *env = _env; in qemu_init_vcpu() local
[all …]
H A Dqemu-kvm-ia64.c19 void kvm_arch_load_regs(CPUState *env, int level) in kvm_arch_load_regs()
24 void kvm_arch_save_regs(CPUState *env) in kvm_arch_save_regs()
35 CPUState *env = cpu_single_env; in kvm_arch_halt() local
40 void kvm_arch_pre_kvm_run(void *opaque, CPUState *env) in kvm_arch_pre_kvm_run()
44 void kvm_arch_post_kvm_run(void *opaque, CPUState *env) in kvm_arch_post_kvm_run()
48 int kvm_arch_has_work(CPUState *env) in kvm_arch_has_work()
91 void kvm_arch_update_guest_debug(CPUState *env, struct kvm_guest_debug *dbg) in kvm_arch_update_guest_debug()
95 void kvm_arch_save_mpstate(CPUState *env) in kvm_arch_save_mpstate()
109 void kvm_arch_load_mpstate(CPUState *env) in kvm_arch_load_mpstate()
123 void kvm_arch_cpu_reset(CPUState *env) in kvm_arch_cpu_reset()
[all …]
H A Dqemu-kvm-x86.c170 static int kvm_handle_tpr_access(CPUState *env) in kvm_handle_tpr_access()
191 int kvm_arch_run(CPUState *env) in kvm_arch_run()
297 void kvm_show_code(CPUState *env) in kvm_show_code()
378 void kvm_show_regs(CPUState *env) in kvm_show_regs()
621 void kvm_arch_save_regs(CPUState *env) in kvm_arch_save_regs()
655 int kvm_arch_halt(CPUState *env) in kvm_arch_halt()
674 int kvm_arch_has_work(CPUState *env) in kvm_arch_has_work()
686 CPUState *env = cpu_single_env; in kvm_arch_try_push_interrupts() local
708 CPUState *env = cpu_single_env; in kvm_arch_push_nmi() local
723 static int kvm_reset_msrs(CPUState *env) in kvm_reset_msrs()
[all …]
H A Dgdbstub.c1629 CPUState *env; in gdb_breakpoint_insert() local
1663 CPUState *env; in gdb_breakpoint_remove() local
1696 CPUState *env; in gdb_breakpoint_remove_all() local
1744 static inline int gdb_id(CPUState *env) in gdb_id()
1755 CPUState *env; in find_cpu() local
1768 CPUState *env; in gdb_handle_packet() local
2183 void gdb_set_stop_cpu(CPUState *env) in gdb_set_stop_cpu()
2193 CPUState *env = s->c_cpu; in gdb_vm_state_change() local
2378 void gdb_exit(CPUState *env, int code) in gdb_exit()
2418 gdb_handlesig (CPUState *env, int sig) in gdb_handlesig()
[all …]
H A Dkvm-tpr-opt.c22 static uint64_t map_addr(CPUState *env, target_ulong virt, unsigned *perms) in map_addr()
69 static uint8_t read_byte_virt(CPUState *env, target_ulong virt) in read_byte_virt()
74 static void write_byte_virt(CPUState *env, target_ulong virt, uint8_t b) in write_byte_virt()
170 static int bios_is_mapped(CPUState *env, uint64_t rip) in bios_is_mapped()
209 static int get_pcr_cpu(CPUState *env) in get_pcr_cpu()
221 int kvm_tpr_enable_vapic(CPUState *env) in kvm_tpr_enable_vapic()
236 static void patch_call(CPUState *env, uint64_t rip, uint32_t target) in patch_call()
248 static void patch_instruction(CPUState *env, uint64_t rip) in patch_instruction()
330 CPUState *env = first_cpu->next_cpu; in tpr_load() local
341 CPUState *env = cpu_single_env; in vtpr_ioport_write16() local
[all …]
H A Dqemu-kvm.c92 static int kvm_debug(CPUState *env, in kvm_debug()
245 CPUState *env = opaque; in kvm_reset_vcpu() local
523 static int handle_mmio(CPUState *env) in handle_mmio()
579 int kvm_run(CPUState *env) in kvm_run()
701 int kvm_inject_nmi(CPUState *env) in kvm_inject_nmi()
1132 CPUState *env = cpu_single_env; in qemu_cond_wait() local
1194 CPUState *env = _env; in do_kvm_cpu_synchronize_state() local
1256 int kvm_cpu_exec(CPUState *env) in kvm_cpu_exec()
1458 CPUState *env = _env; in ap_main_loop() local
1497 int kvm_init_vcpu(CPUState *env) in kvm_init_vcpu()
[all …]
/illumos-kvm-cmd/target-ppc/
H A Dkvm.c58 static void kvm_kick_env(void *env) in kvm_kick_env()
93 void kvm_arch_reset_vcpu(CPUState *env) in kvm_arch_reset_vcpu()
97 int kvm_arch_put_registers(CPUState *env, int level) in kvm_arch_put_registers()
135 int kvm_arch_get_registers(CPUState *env) in kvm_arch_get_registers()
200 int kvmppc_set_interrupt(CPUState *env, int irq, int level) in kvmppc_set_interrupt()
225 int kvm_arch_pre_run(CPUState *env, struct kvm_run *run) in kvm_arch_pre_run()
259 int kvm_arch_post_run(CPUState *env, struct kvm_run *run) in kvm_arch_post_run()
264 int kvm_arch_process_irqchip_events(CPUState *env) in kvm_arch_process_irqchip_events()
269 static int kvmppc_handle_halt(CPUState *env) in kvmppc_handle_halt()
296 int kvm_arch_handle_exit(CPUState *env, struct kvm_run *run) in kvm_arch_handle_exit()
[all …]
H A Dhelper.c43 # define LOG_MMU_STATE(env) log_cpu_state((env), 0) argument
757 void ppc_slb_invalidate_all (CPUPPCState *env) in ppc_slb_invalidate_all()
1847 void ppc_tlb_invalidate_all (CPUPPCState *env) in ppc_tlb_invalidate_all()
2047 void do_interrupt (CPUState *env) in do_interrupt()
2053 void ppc_hw_interrupt (CPUState *env) in ppc_hw_interrupt()
2059 static inline void dump_syscall(CPUState *env) in dump_syscall()
2622 void do_interrupt (CPUState *env) in do_interrupt()
2627 void ppc_hw_interrupt (CPUPPCState *env) in ppc_hw_interrupt()
2750 void cpu_reset(CPUPPCState *env) in cpu_reset()
2800 CPUPPCState *env; in cpu_ppc_init() local
[all …]
H A Dtranslate_init.c629 static void gen_low_BATs (CPUPPCState *env) in gen_low_BATs()
773 static void gen_tbl (CPUPPCState *env) in gen_tbl()
854 static void gen_spr_7xx (CPUPPCState *env) in gen_spr_7xx()
973 static void gen_spr_604 (CPUPPCState *env) in gen_spr_604()
1026 static void gen_spr_603 (CPUPPCState *env) in gen_spr_603()
1037 static void gen_spr_G2 (CPUPPCState *env) in gen_spr_G2()
1089 static void gen_spr_602 (CPUPPCState *env) in gen_spr_602()
1137 static void gen_spr_601 (CPUPPCState *env) in gen_spr_601()
1265 static void gen_l3_ctrl (CPUPPCState *env) in gen_l3_ctrl()
1576 static void gen_spr_440 (CPUPPCState *env) in gen_spr_440()
[all …]
/illumos-kvm-cmd/target-alpha/
H A Dhelper.c28 uint64_t cpu_alpha_load_fpcr (CPUState *env) in cpu_alpha_load_fpcr()
98 void cpu_alpha_store_fpcr (CPUState *env, uint64_t val) in cpu_alpha_store_fpcr()
164 int cpu_alpha_handle_mmu_fault (CPUState *env, target_ulong address, int rw, in cpu_alpha_handle_mmu_fault()
176 void do_interrupt (CPUState *env) in do_interrupt()
183 target_phys_addr_t cpu_get_phys_page_debug (CPUState *env, target_ulong addr) in cpu_get_phys_page_debug()
188 int cpu_alpha_handle_mmu_fault (CPUState *env, target_ulong address, int rw, in cpu_alpha_handle_mmu_fault()
213 int cpu_alpha_mfpr (CPUState *env, int iprn, uint64_t *valp) in cpu_alpha_mfpr()
355 int cpu_alpha_mtpr (CPUState *env, int iprn, uint64_t val, uint64_t *oldvalp) in cpu_alpha_mtpr()
517 void do_interrupt (CPUState *env) in do_interrupt()
540 void cpu_dump_state (CPUState *env, FILE *f, fprintf_function cpu_fprintf, in cpu_dump_state()
/illumos-kvm-cmd/linux-user/
H A Dmain.c244 void cpu_smm_update(CPUState *env) in cpu_smm_update()
304 void cpu_loop(CPUX86State *env) in cpu_loop()
478 do_kernel_trap(CPUARMState *env) in do_kernel_trap()
607 void cpu_loop(CPUARMState *env) in cpu_loop()
1181 void cpu_loop(CPUPPCState *env) in cpu_loop()
1978 void cpu_loop(CPUMIPSState *env) in cpu_loop()
2086 void cpu_loop (CPUState *env) in cpu_loop()
2144 void cpu_loop (CPUState *env) in cpu_loop()
2201 void cpu_loop (CPUState *env) in cpu_loop()
2429 void cpu_loop (CPUState *env) in cpu_loop()
[all …]
H A Dvm86.c73 void save_v86_state(CPUX86State *env) in save_v86_state()
125 static inline void return_to_32bit(CPUX86State *env, int retval) in return_to_32bit()
132 static inline int set_IF(CPUX86State *env) in set_IF()
144 static inline void clear_IF(CPUX86State *env) in clear_IF()
151 static inline void clear_TF(CPUX86State *env) in clear_TF()
156 static inline void clear_AC(CPUX86State *env) in clear_AC()
187 static inline unsigned int get_vflags(CPUX86State *env) in get_vflags()
203 static void do_int(CPUX86State *env, int intno) in do_int()
241 void handle_vm86_trap(CPUX86State *env, int trapno) in handle_vm86_trap()
261 void handle_vm86_fault(CPUX86State *env) in handle_vm86_fault()
[all …]
/illumos-kvm-cmd/darwin-user/
H A Dmain.c73 int cpu_get_pic_interrupt(CPUState *env) in cpu_get_pic_interrupt()
85 uint64_t cpu_ppc_load_tbl (CPUState *env) in cpu_ppc_load_tbl()
90 uint32_t cpu_ppc_load_tbu (CPUState *env) in cpu_ppc_load_tbu()
95 uint64_t cpu_ppc_load_atbl (CPUState *env) in cpu_ppc_load_atbl()
100 uint32_t cpu_ppc_load_atbu (CPUState *env) in cpu_ppc_load_atbu()
105 uint32_t cpu_ppc601_load_rtcu (CPUState *env) in cpu_ppc601_load_rtcu()
110 uint32_t cpu_ppc601_load_rtcl (CPUState *env) in cpu_ppc601_load_rtcl()
134 void cpu_loop(CPUPPCState *env) in cpu_loop()
503 uint64_t cpu_get_tsc(CPUX86State *env) in cpu_get_tsc()
555 void cpu_loop(CPUX86State *env) in cpu_loop()
[all …]
/illumos-kvm-cmd/target-cris/
H A Dhelper.c44 void do_interrupt (CPUState *env) in do_interrupt()
50 int cpu_cris_handle_mmu_fault(CPUState * env, target_ulong address, int rw, in cpu_cris_handle_mmu_fault()
62 static void cris_shift_ccs(CPUState *env) in cris_shift_ccs()
71 int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw, in cpu_cris_handle_mmu_fault()
115 static void do_interruptv10(CPUState *env) in do_interruptv10()
170 void do_interrupt(CPUState *env) in do_interrupt()
254 target_phys_addr_t cpu_get_phys_page_debug(CPUState * env, target_ulong addr) in cpu_get_phys_page_debug()
/illumos-kvm-cmd/target-mips/
H A Dhelper.c40 int no_mmu_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, in no_mmu_map_address()
49 int fixed_mmu_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, in fixed_mmu_map_address()
67 int r4k_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, in r4k_map_address()
103 static int get_physical_address (CPUState *env, target_phys_addr_t *physical, in get_physical_address()
205 static void raise_mmu_exception(CPUState *env, target_ulong address, in raise_mmu_exception()
258 target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr) in cpu_get_phys_page_debug()
269 int cpu_mips_handle_mmu_fault (CPUState *env, target_ulong address, int rw, in cpu_mips_handle_mmu_fault()
373 static target_ulong exception_resume_pc (CPUState *env) in exception_resume_pc()
389 static void set_hflags_for_handler (CPUState *env) in set_hflags_for_handler()
402 void do_interrupt (CPUState *env) in do_interrupt()
[all …]
H A Dexec.h20 static inline int cpu_has_work(CPUState *env) in cpu_has_work()
39 static inline int cpu_halted(CPUState *env) in cpu_halted()
50 static inline void compute_hflags(CPUState *env) in compute_hflags()
91 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) in cpu_pc_from_tb()
/illumos-kvm-cmd/target-sh4/
H A Dhelper.c32 void do_interrupt (CPUState *env) in do_interrupt()
56 int cpu_sh4_is_cached(CPUSH4State * env, target_ulong addr) in cpu_sh4_is_cached()
79 void do_interrupt(CPUState * env) in do_interrupt()
203 static void update_itlb_use(CPUState * env, int itlbnb) in update_itlb_use()
228 static int itlb_replacement(CPUState * env) in itlb_replacement()
244 static int find_tlb_entry(CPUState * env, target_ulong address, in find_tlb_entry()
270 static void increment_urc(CPUState * env) in increment_urc()
286 static int copy_utlb_entry_itlb(CPUState *env, int utlb) in copy_utlb_entry_itlb()
304 static int find_itlb_entry(CPUState * env, target_ulong address, in find_itlb_entry()
513 void cpu_load_tlb(CPUSH4State * env) in cpu_load_tlb()
[all …]
/illumos-kvm-cmd/target-sparc/
H A Dhelper.c96 static int get_physical_address(CPUState *env, target_phys_addr_t *physical, in get_physical_address()
260 target_ulong mmu_probe(CPUState *env, target_ulong address, int mmulev) in mmu_probe()
323 void dump_mmu(FILE *f, fprintf_function cpu_fprintf, CPUState *env) in dump_mmu()
412 static int get_physical_address_data(CPUState *env, in get_physical_address_data()
497 static int get_physical_address_code(CPUState *env, in get_physical_address_code()
623 void dump_mmu(FILE *f, fprintf_function cpu_fprintf, CPUState *env) in dump_mmu()
733 void cpu_reset(CPUSPARCState *env) in cpu_reset()
776 static int cpu_sparc_register(CPUSPARCState *env, const char *cpu_model) in cpu_sparc_register()
806 static void cpu_sparc_close(CPUSPARCState *env) in cpu_sparc_close()
814 CPUSPARCState *env; in cpu_sparc_init() local
[all …]

Completed in 186 milliseconds

1234567