/dports/emulators/unicorn/unicorn-1.0.2/qemu/target-i386/ |
H A D | unicorn.c | 14 #define FPST(n) (X86_CPU(uc, mycpu)->env.fpregs[(X86_CPU(uc, mycpu)->env.fpstt + (n)) & 7].d) 31 int16_t cs = (uint16_t)X86_CPU(uc, cpu)->env.segs[R_CS].selector; in x86_set_pc() 247 uint16_t fpus = X86_CPU(uc, mycpu)->env.fpus; in x86_reg_read() 249 fpus |= ( X86_CPU(uc, mycpu)->env.fpstt & 0x7 ) << 11; in x86_reg_read() 254 *(uint16_t*) value = X86_CPU(uc, mycpu)->env.fpuc; in x86_reg_read() 267 if (X86_CPU(uc, mycpu)->env.fptags[i]) { in x86_reg_read() 270 tmp.d = X86_CPU(uc, mycpu)->env.fpregs[i].d; in x86_reg_read() 465 *(int32_t *)value = X86_CPU(uc, mycpu)->env.eip; in x86_reg_read() 654 *(uint64_t *)value = X86_CPU(uc, mycpu)->env.eip; in x86_reg_read() 861 X86_CPU(uc, mycpu)->env.fpus = fpus & ~0x3800; in x86_reg_write() [all …]
|
/dports/emulators/py-unicorn/unicorn-1.0.2/qemu/target-i386/ |
H A D | unicorn.c | 14 #define FPST(n) (X86_CPU(uc, mycpu)->env.fpregs[(X86_CPU(uc, mycpu)->env.fpstt + (n)) & 7].d) 31 int16_t cs = (uint16_t)X86_CPU(uc, cpu)->env.segs[R_CS].selector; in x86_set_pc() 247 uint16_t fpus = X86_CPU(uc, mycpu)->env.fpus; in x86_reg_read() 249 fpus |= ( X86_CPU(uc, mycpu)->env.fpstt & 0x7 ) << 11; in x86_reg_read() 254 *(uint16_t*) value = X86_CPU(uc, mycpu)->env.fpuc; in x86_reg_read() 267 if (X86_CPU(uc, mycpu)->env.fptags[i]) { in x86_reg_read() 270 tmp.d = X86_CPU(uc, mycpu)->env.fpregs[i].d; in x86_reg_read() 465 *(int32_t *)value = X86_CPU(uc, mycpu)->env.eip; in x86_reg_read() 654 *(uint64_t *)value = X86_CPU(uc, mycpu)->env.eip; in x86_reg_read() 861 X86_CPU(uc, mycpu)->env.fpus = fpus & ~0x3800; in x86_reg_write() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/hw/i386/ |
H A D | vmport.c | 66 X86CPU *cpu = X86_CPU(cs); in vmport_ioport_read() 91 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 98 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 106 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 115 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_get_data() 125 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_set_data()
|
/dports/emulators/qemu-utils/qemu-4.2.1/hw/i386/ |
H A D | vmport.c | 66 X86CPU *cpu = X86_CPU(cs); in vmport_ioport_read() 91 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 98 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 106 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 115 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_get_data() 125 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_set_data()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/i386/ |
H A D | vmport.c | 68 X86CPU *cpu = X86_CPU(cs); in vmport_ioport_read() 93 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 100 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 108 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 117 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_get_data() 127 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_set_data()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/i386/ |
H A D | vmport.c | 66 X86CPU *cpu = X86_CPU(cs); 91 X86CPU *cpu = X86_CPU(current_cpu); 98 X86CPU *cpu = X86_CPU(current_cpu); 106 X86CPU *cpu = X86_CPU(current_cpu); 115 X86CPU *cpu = X86_CPU(current_cpu); 125 X86CPU *cpu = X86_CPU(current_cpu);
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/i386/ |
H A D | vmport.c | 66 X86CPU *cpu = X86_CPU(cs); in vmport_ioport_read() 91 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 98 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 106 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 115 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_get_data() 125 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_set_data()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/i386/tcg/ |
H A D | tcg-cpu.c | 32 X86CPU *cpu = X86_CPU(cs); in x86_cpu_exec_enter() 43 X86CPU *cpu = X86_CPU(cs); in x86_cpu_exec_exit() 52 X86CPU *cpu = X86_CPU(cs); in x86_cpu_synchronize_from_tb() 60 X86CPU *cpu = X86_CPU(cs); in x86_debug_check_breakpoint() 126 X86CPU *cpu = X86_CPU(cs); in tcg_cpu_instance_init()
|
/dports/emulators/qemu/qemu-6.2.0/target/i386/tcg/ |
H A D | tcg-cpu.c | 32 X86CPU *cpu = X86_CPU(cs); in x86_cpu_exec_enter() 43 X86CPU *cpu = X86_CPU(cs); in x86_cpu_exec_exit() 52 X86CPU *cpu = X86_CPU(cs); in x86_cpu_synchronize_from_tb() 60 X86CPU *cpu = X86_CPU(cs); in x86_debug_check_breakpoint() 127 X86CPU *cpu = X86_CPU(cs); in tcg_cpu_instance_init()
|
/dports/emulators/qemu/qemu-6.2.0/hw/i386/ |
H A D | vmport.c | 98 X86CPU *cpu = X86_CPU(cs); in vmport_ioport_read() 149 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 159 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 173 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_bios_uuid() 185 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 196 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_hz() 214 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_vcpu_info()
|
/dports/emulators/qemu60/qemu-6.0.0/hw/i386/ |
H A D | vmport.c | 99 X86CPU *cpu = X86_CPU(cs); in vmport_ioport_read() 150 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 160 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 174 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_bios_uuid() 186 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 197 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_hz() 215 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_vcpu_info()
|
/dports/emulators/qemu5/qemu-5.2.0/hw/i386/ |
H A D | vmport.c | 98 X86CPU *cpu = X86_CPU(cs); in vmport_ioport_read() 149 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 159 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 173 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_bios_uuid() 185 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 196 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_hz() 214 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_vcpu_info()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/i386/ |
H A D | vmport.c | 98 X86CPU *cpu = X86_CPU(cs); in vmport_ioport_read() 149 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 159 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 173 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_bios_uuid() 185 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 196 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_hz() 214 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_vcpu_info()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/i386/hvf/ |
H A D | x86hvf.c | 76 void *xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_put_xsave() 77 uint32_t xsave_len = X86_CPU(cpu_state)->env.xsave_buf_len; in hvf_put_xsave() 88 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_segments() 134 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_msrs() 159 void *xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_get_xsave() 171 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_segments() 216 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_msrs() 244 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_put_registers() 288 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_get_registers() 348 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_inject_interrupts() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/target/i386/hvf/ |
H A D | x86hvf.c | 76 void *xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_put_xsave() 77 uint32_t xsave_len = X86_CPU(cpu_state)->env.xsave_buf_len; in hvf_put_xsave() 88 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_segments() 134 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_msrs() 159 void *xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_get_xsave() 171 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_segments() 216 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_msrs() 244 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_put_registers() 288 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_get_registers() 348 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_inject_interrupts() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/target/i386/tcg/ |
H A D | tcg-cpu.c | 35 X86CPU *cpu = X86_CPU(cs); in x86_cpu_exec_enter() 46 X86CPU *cpu = X86_CPU(cs); in x86_cpu_exec_exit() 55 X86CPU *cpu = X86_CPU(cs); in x86_cpu_synchronize_from_tb()
|
/dports/emulators/qemu60/qemu-6.0.0/target/i386/ |
H A D | helper.c | 211 X86CPU *cpu = X86_CPU(cs); in x86_cpu_get_phys_page_attrs_debug() 354 X86CPU *cpu = X86_CPU(cs); in do_inject_x86_mce() 579 X86CPU *cpu = X86_CPU(cs); in x86_ldub_phys() 589 X86CPU *cpu = X86_CPU(cs); in x86_lduw_phys() 599 X86CPU *cpu = X86_CPU(cs); in x86_ldl_phys() 609 X86CPU *cpu = X86_CPU(cs); in x86_ldq_phys() 619 X86CPU *cpu = X86_CPU(cs); in x86_stb_phys() 629 X86CPU *cpu = X86_CPU(cs); in x86_stl_phys_notdirty() 639 X86CPU *cpu = X86_CPU(cs); in x86_stw_phys() 649 X86CPU *cpu = X86_CPU(cs); in x86_stl_phys() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/target/i386/hvf/ |
H A D | x86hvf.c | 78 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_put_xsave() 80 x86_cpu_xsave_all_areas(X86_CPU(cpu_state), xsave); in hvf_put_xsave() 89 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_segments() 135 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_msrs() 162 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_get_xsave() 173 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_segments() 218 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_msrs() 246 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_put_registers() 290 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_get_registers() 350 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_inject_interrupts() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/target/i386/hvf/ |
H A D | x86hvf.c | 80 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_put_xsave() 82 x86_cpu_xsave_all_areas(X86_CPU(cpu_state), xsave); in hvf_put_xsave() 91 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_segments() 137 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_msrs() 164 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_get_xsave() 175 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_segments() 220 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_msrs() 248 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_put_registers() 292 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_get_registers() 352 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_inject_interrupts() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/target/i386/hvf/ |
H A D | x86hvf.c | 78 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_put_xsave() 80 x86_cpu_xsave_all_areas(X86_CPU(cpu_state), xsave); in hvf_put_xsave() 89 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_segments() 135 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_msrs() 162 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_get_xsave() 173 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_segments() 218 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_msrs() 246 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_put_registers() 290 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_get_registers() 350 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_inject_interrupts() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/target/i386/hvf/ |
H A D | x86hvf.c | 78 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_put_xsave() 80 x86_cpu_xsave_all_areas(X86_CPU(cpu_state), xsave); in hvf_put_xsave() 89 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_segments() 135 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_msrs() 162 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_get_xsave() 173 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_segments() 218 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_msrs() 246 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_put_registers() 290 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_get_registers() 350 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_inject_interrupts() [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/target/i386/hvf/ |
H A D | x86hvf.c | 78 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_put_xsave() 80 x86_cpu_xsave_all_areas(X86_CPU(cpu_state), xsave); in hvf_put_xsave() 89 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_segments() 135 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_msrs() 166 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_get_xsave() 177 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_segments() 222 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_msrs() 250 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_put_registers() 294 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_get_registers() 356 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_inject_interrupts() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/target/i386/hvf/ |
H A D | x86hvf.c | 78 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_put_xsave() 80 x86_cpu_xsave_all_areas(X86_CPU(cpu_state), xsave); in hvf_put_xsave() 89 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_segments() 135 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_msrs() 162 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_get_xsave() 173 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_segments() 218 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_msrs() 246 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_put_registers() 290 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_get_registers() 350 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_inject_interrupts() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/target/i386/hvf/ |
H A D | x86hvf.c | 80 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_put_xsave() 82 x86_cpu_xsave_all_areas(X86_CPU(cpu_state), xsave); in hvf_put_xsave() 91 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_segments() 137 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_put_msrs() 164 xsave = X86_CPU(cpu_state)->env.xsave_buf; in hvf_get_xsave() 175 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_segments() 220 CPUX86State *env = &X86_CPU(cpu_state)->env; in hvf_get_msrs() 248 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_put_registers() 292 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_get_registers() 352 X86CPU *x86cpu = X86_CPU(cpu_state); in hvf_inject_interrupts() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/i386/ |
H A D | helper.c | 211 X86CPU *cpu = X86_CPU(cs); in x86_cpu_get_phys_page_attrs_debug() 354 X86CPU *cpu = X86_CPU(cs); in do_inject_x86_mce() 592 X86CPU *cpu = X86_CPU(cs); in x86_ldub_phys() 602 X86CPU *cpu = X86_CPU(cs); in x86_lduw_phys() 612 X86CPU *cpu = X86_CPU(cs); in x86_ldl_phys() 622 X86CPU *cpu = X86_CPU(cs); in x86_ldq_phys() 632 X86CPU *cpu = X86_CPU(cs); in x86_stb_phys() 642 X86CPU *cpu = X86_CPU(cs); in x86_stl_phys_notdirty() 652 X86CPU *cpu = X86_CPU(cs); in x86_stw_phys() 662 X86CPU *cpu = X86_CPU(cs); in x86_stl_phys() [all …]
|