/qemu/tests/tcg/xtensa/ |
H A D | test_timer.S | 108 bgez a4, 2f 116 set_vector TIMER0_VECTOR, 2f 153 set_vector TIMER1_VECTOR, 2f 188 set_vector TIMER2_VECTOR, 2f 220 set_vector TIMER0_VECTOR, 2f 257 set_vector TIMER0_VECTOR, 2f
|
/qemu/util/ |
H A D | oslib-posix.c | 230 int f; in qemu_socket_set_nonblock() local 231 f = qemu_socket_try_set_nonblock(fd); in qemu_socket_set_nonblock() 232 assert(f == 0); in qemu_socket_set_nonblock() 249 int f; in qemu_set_cloexec() local 250 f = fcntl(fd, F_GETFD); in qemu_set_cloexec() 251 assert(f != -1); in qemu_set_cloexec() 252 f = fcntl(fd, F_SETFD, f | FD_CLOEXEC); in qemu_set_cloexec() 253 assert(f != -1); in qemu_set_cloexec()
|
/qemu/target/loongarch/tcg/ |
H A D | fpu_helper.c | 345 float32 f = fj; in helper_fclass_s() local 346 bool sign = float32_is_neg(f); in helper_fclass_s() 348 if (float32_is_infinity(f)) { in helper_fclass_s() 350 } else if (float32_is_zero(f)) { in helper_fclass_s() 352 } else if (float32_is_zero_or_denormal(f)) { in helper_fclass_s() 354 } else if (float32_is_any_nan(f)) { in helper_fclass_s() 364 float64 f = fj; in helper_fclass_d() local 365 bool sign = float64_is_neg(f); in helper_fclass_d() 367 if (float64_is_infinity(f)) { in helper_fclass_d() 369 } else if (float64_is_zero(f)) { in helper_fclass_d() [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | backing-file-invalidation | 34 imgs = [os.path.join(iotests.test_dir, f'{i}.img') for i in range(0, 4)] 106 .add_incoming(f'unix:{mig_sock}') 116 self.vm_s.qmp('migrate', uri=f'unix:{mig_sock}')
|
/qemu/host/include/aarch64/host/ |
H A D | store-insert-al16.h.inc | 41 "stxp %w[f], %[l], %[h], %[mem]\n\t" 42 "cbnz %w[f], 0b\n" 43 : [mem] "+Q"(*ps), [f] "=&r"(fail), [l] "=&r"(tl), [h] "=&r"(th)
|
/qemu/target/alpha/ |
H A D | helper.c | 479 void alpha_cpu_dump_state(CPUState *cs, FILE *f, int flags) in alpha_cpu_dump_state() argument 490 qemu_fprintf(f, "PC " TARGET_FMT_lx " PS %02x\n", in alpha_cpu_dump_state() 493 qemu_fprintf(f, "%-8s" TARGET_FMT_lx "%c", in alpha_cpu_dump_state() 498 qemu_fprintf(f, "lock_a " TARGET_FMT_lx " lock_v " TARGET_FMT_lx "\n", in alpha_cpu_dump_state() 503 qemu_fprintf(f, "f%-7d%016" PRIx64 "%c", i, env->fir[i], in alpha_cpu_dump_state() 506 qemu_fprintf(f, "fpcr %016" PRIx64 "\n", cpu_alpha_load_fpcr(env)); in alpha_cpu_dump_state() 508 qemu_fprintf(f, "\n"); in alpha_cpu_dump_state()
|
/qemu/scripts/ |
H A D | analyze-migration.py | 165 f.truncate(0) 166 f.truncate(len) 167 self.files[self.name] = f 674 f = open("desc.json", "w") variable 675 f.truncate() 676 f.write(jsonenc.encode(dump.vmsd_desc)) 677 f.close() 682 f = open("state.json", "w") variable 683 f.truncate() 684 f.write(jsonenc.encode(dict)) [all …]
|
H A D | qemu-stamp.py | 15 with open(arg, 'rb') as f: 16 for chunk in iter(lambda: f.read(65536), b''):
|
H A D | shaderinclude.py | 18 print(f'static GLchar {varname}_src[] =', file=stdout) 21 print(f' "{line}\\n"', file=stdout)
|
/qemu/target/riscv/ |
H A D | arch_dump.c | 67 int riscv_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, in riscv_cpu_write_elf64_note() argument 87 ret = f(¬e, RISCV64_PRSTATUS_NOTE_SIZE, s); in riscv_cpu_write_elf64_note() 136 int riscv_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, in riscv_cpu_write_elf32_note() argument 156 ret = f(¬e, RISCV32_PRSTATUS_NOTE_SIZE, s); in riscv_cpu_write_elf32_note()
|
/qemu/include/qemu/ |
H A D | xxhash.h | 63 uint32_t f = ef >> 32; in qemu_xxhash8() local 88 h32 += f * PRIME32_3; in qemu_xxhash8() 122 uint32_t f) in qemu_xxhash6() argument 124 return qemu_xxhash8(ab, cd, 0, e, f); in qemu_xxhash6()
|
/qemu/include/sysemu/ |
H A D | os-win32.h | 158 static inline void qemu_flockfile(FILE *f) in qemu_flockfile() argument 161 _lock_file(f); in qemu_flockfile() 165 static inline void qemu_funlockfile(FILE *f) in qemu_funlockfile() argument 168 _unlock_file(f); in qemu_funlockfile()
|
/qemu/target/arm/ |
H A D | cpu.c | 1197 qemu_fprintf(f, " PC=%016" PRIx64 " ", env->pc); in aarch64_cpu_dump_state() 1231 qemu_fprintf(f, "%s%s%s", in aarch64_cpu_dump_state() 1236 qemu_fprintf(f, "\n"); in aarch64_cpu_dump_state() 1240 qemu_fprintf(f, " FPU disabled\n"); in aarch64_cpu_dump_state() 1243 qemu_fprintf(f, " FPCR=%08x FPSR=%08x\n", in aarch64_cpu_dump_state() 1260 qemu_fprintf(f, "FFR="); in aarch64_cpu_dump_state() 1264 qemu_fprintf(f, "P%02d=", i); in aarch64_cpu_dump_state() 1307 qemu_fprintf(f, "Z%02d=", i); in aarch64_cpu_dump_state() 1359 aarch64_cpu_dump_state(cs, f, flags); in arm_cpu_dump_state() 1366 qemu_fprintf(f, "\n"); in arm_cpu_dump_state() [all …]
|
/qemu/hw/virtio/ |
H A D | virtio.c | 2811 qemu_put_8s(f, &vdev->status); in virtio_save() 2812 qemu_put_8s(f, &vdev->isr); in virtio_save() 2815 qemu_put_be32(f, vdev->config_len); in virtio_save() 2823 qemu_put_be32(f, i); in virtio_save() 2845 vdc->save(vdev, f); in virtio_save() 3005 qemu_get_8s(f, &vdev->status); in virtio_load() 3006 qemu_get_8s(f, &vdev->isr); in virtio_load() 3011 qemu_get_be32s(f, &features); in virtio_load() 3023 config_len = qemu_get_be32(f); in virtio_load() 3033 qemu_get_byte(f); in virtio_load() [all …]
|
/qemu/target/ppc/ |
H A D | arch_dump.c | 271 WriteCoreDumpFunction f, in ppc_write_all_elf_notes() argument 289 ret = f(&arg.note, note_size, s); in ppc_write_all_elf_notes() 297 int ppc64_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, in ppc64_cpu_write_elf64_note() argument 301 return ppc_write_all_elf_notes("CORE", f, cpu, cpuid, s); in ppc64_cpu_write_elf64_note() 304 int ppc32_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, in ppc32_cpu_write_elf32_note() argument 308 return ppc_write_all_elf_notes("CORE", f, cpu, cpuid, s); in ppc32_cpu_write_elf32_note()
|
/qemu/tests/tcg/s390x/ |
H A D | bal.S | 8 bal %r0,0f 10 cgrjne %r0,%r1,1f
|
/qemu/target/ppc/translate/ |
H A D | fp-ops.c.inc | 2 GEN_HANDLER(f##name, op1, op2, 0xFF, 0x00000000, type) 7 GEN_HANDLER(f##name, op1, op2, 0xFF, inval, type) 12 GEN_HANDLER(f##name, op1, op2, 0xFF, inval, type) 17 GEN_HANDLER(f##name, 0x3F, op2, op3, 0x001F0000, type) 19 GEN_HANDLER(f##name, op1, op2, 0xFF, 0x001F07C0, type)
|
/qemu/tests/tcg/cris/bare/ |
H A D | check_movemrv32.s | 46 checkr3 f 62 checkr3 f 72 checkr3 f
|
/qemu/python/qemu/utils/ |
H A D | __init__.py | 107 ret += f"{horizontal} {name} " 110 ret += f"{horizontal * filler_len}" 152 sections.append(f"{name}: N/A")
|
/qemu/tests/guest-debug/ |
H A D | run-test.py | 72 cmd = f'{args.qemu} {args.qargs} {args.binary}' \ 73 f' -S -gdb unix:path={socket_name},server=on' 75 cmd = f'{args.qemu} {args.qargs} -g {socket_name} {args.binary}'
|
/qemu/hw/intc/ |
H A D | s390_flic_kvm.c | 414 static int kvm_flic_save(QEMUFile *f, void *opaque, size_t size, in kvm_flic_save() argument 431 qemu_put_be64(f, FLIC_FAILED); in kvm_flic_save() 442 qemu_put_be64(f, FLIC_FAILED); in kvm_flic_save() 445 qemu_put_be64(f, count); in kvm_flic_save() 446 qemu_put_buffer(f, (uint8_t *) buf, in kvm_flic_save() 464 static int kvm_flic_load(QEMUFile *f, void *opaque, size_t size, in kvm_flic_load() argument 474 count = qemu_get_be64(f); in kvm_flic_load() 487 if (qemu_get_buffer(f, (uint8_t *) buf, len) != len) { in kvm_flic_load()
|
/qemu/tests/tcg/i386/ |
H A D | test-i386-ssse3.c | 17 const char f[16] = "aaaaaaaaaaaaaaHE"; in main() local 40 asm volatile ("palignr $14, (%0), %%xmm0" : : "r" (f)); in main()
|
/qemu/net/ |
H A D | slirp.c | 382 QEMUFile *f = opaque; in net_slirp_stream_read() local 384 return qemu_get_buffer(f, buf, size); in net_slirp_stream_read() 390 QEMUFile *f = opaque; in net_slirp_stream_write() local 392 qemu_put_buffer(f, buf, size); in net_slirp_stream_write() 393 if (qemu_file_get_error(f)) { in net_slirp_stream_write() 411 slirp_state_save(slirp, net_slirp_stream_write, f); in net_slirp_state_save() 934 FILE *f; in slirp_smb() local 961 f = fopen(smb_conf, "w"); in slirp_smb() 962 if (!f) { in slirp_smb() 970 fprintf(f, in slirp_smb() [all …]
|
/qemu/hw/xen/ |
H A D | xen_pvdev.c | 164 FILE *f, const char *fmt, va_list args) in xen_pv_output_msg() argument 167 fprintf(f, "xen be: %s: ", xendev->name); in xen_pv_output_msg() 169 fprintf(f, "xen be core: "); in xen_pv_output_msg() 171 vfprintf(f, fmt, args); in xen_pv_output_msg()
|
/qemu/include/hw/virtio/ |
H A D | vhost.h | 336 void vhost_dev_save_inflight(struct vhost_inflight *inflight, QEMUFile *f); 337 int vhost_dev_load_inflight(struct vhost_inflight *inflight, QEMUFile *f); 448 int vhost_save_backend_state(struct vhost_dev *dev, QEMUFile *f, Error **errp); 465 int vhost_load_backend_state(struct vhost_dev *dev, QEMUFile *f, Error **errp);
|