/qemu/ui/ |
H A D | console-vc.c | 124 return c->chr ? c->chr->label : NULL; in qemu_text_console_get_label() 192 TextCell *c; in console_show_cursor() local 222 TextCell *c; in console_refresh() local 240 c++; in console_refresh() 301 int c; in qemu_text_console_handle_keysym() local 409 c++; in text_console_resize() 419 TextCell *c; in vc_put_lf() local 439 c++; in vc_put_lf() 610 c->ch = ch; in vc_put_one() 929 QEMU_CONSOLE(c)->hw = c; in qemu_text_console_init() [all …]
|
/qemu/target/microblaze/ |
H A D | meson.build | 6 'cpu.c', 7 'gdbstub.c', 8 'helper.c', 9 'op_helper.c', 10 'translate.c', 15 'mmu.c', 16 'machine.c',
|
/qemu/tests/avocado/ |
H A D | cpu_queries.py | 27 for c in cpus: 28 self.log.info("Checking CPU: %s", c) 29 self.assertNotIn('', c['unavailable-features'], c['name']) 31 for c in cpus: 32 model = {'name': c['name']} 35 self.assertEqual(e['model']['name'], c['name'])
|
/qemu/tests/unit/ |
H A D | test-block-iothread.c | 255 ret = bdrv_pdiscard(c, 0, 512); in test_sync_op_pdiscard() 260 ret = bdrv_pdiscard(c, 0, 512); in test_sync_op_pdiscard() 264 ret = bdrv_pdiscard(c, -2, 512); in test_sync_op_pdiscard() 299 c->bs->open_flags |= BDRV_O_RDWR; in test_sync_op_truncate() 344 ret = bdrv_flush(c->bs); in test_sync_op_flush() 350 ret = bdrv_flush(c->bs); in test_sync_op_flush() 390 bdrv_activate(c->bs, NULL); in test_sync_op_activate() 396 void (*fn)(BdrvChild *c); 472 BdrvChild *c; in test_sync_op() local 482 c = QLIST_FIRST(&bs->parents); in test_sync_op() [all …]
|
/qemu/tests/ |
H A D | meson.build | 5 'qapi-builtin-types.c', 7 'qapi-builtin-visit.c', 9 'test-qapi-commands-sub-sub-module.c', 11 'test-qapi-commands.c', 13 'test-qapi-emit-events.c', 15 'test-qapi-events-sub-sub-module.c', 17 'test-qapi-events.c', 19 'test-qapi-init-commands.c', 21 'test-qapi-introspect.c', 25 'test-qapi-types.c', [all …]
|
/qemu/target/i386/kvm/ |
H A D | kvm.c | 708 void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr) in kvm_arch_on_sigbus_vcpu() 710 X86CPU *cpu = X86_CPU(c); in kvm_arch_on_sigbus_vcpu() 725 kvm_physical_memory_addr_from_host(c->kvm_state, addr, &paddr)) { in kvm_arch_on_sigbus_vcpu() 1486 struct kvm_cpuid_entry2 *c; in hyperv_fill_cpuids() 1500 c = &cpuid_ent[cpuid_i++]; in hyperv_fill_cpuids() 1501 c->function = HV_CPUID_VENDOR_AND_MAX_FUNCTIONS; in hyperv_fill_cpuids() 1502 c->eax = max_cpuid_leaf; in hyperv_fill_cpuids() 1503 c->ebx = cpu->hyperv_vendor_id[0]; in hyperv_fill_cpuids() 1504 c->ecx = cpu->hyperv_vendor_id[1]; in hyperv_fill_cpuids() 1505 c in hyperv_fill_cpuids() 683 kvm_arch_on_sigbus_vcpu(CPUState * c,int code,void * addr) kvm_arch_on_sigbus_vcpu() argument 1461 struct kvm_cpuid_entry2 *c; hyperv_fill_cpuids() local 1771 struct kvm_cpuid_entry2 *c; kvm_x86_build_cpuid() local 2007 struct kvm_cpuid_entry2 *c; kvm_arch_init_vcpu() local 5503 KVMRouteChange c = kvm_irqchip_begin_route_changes(s); kvm_arch_init_irq_routing() local [all...] |
/qemu/util/ |
H A D | hexdump.c | 43 uint8_t c; in qemu_hexdump_line() local 54 c = *buf; in qemu_hexdump_line() 55 g_string_append_c(str, hexdump_nibble(c / 16)); in qemu_hexdump_line() 56 g_string_append_c(str, hexdump_nibble(c % 16)); in qemu_hexdump_line() 67 char c = buf[i]; in asciidump_line() local 69 if (c < ' ' || c > '~') { in asciidump_line() 70 c = '.'; in asciidump_line() 72 *line++ = c; in asciidump_line()
|
/qemu/include/fpu/ |
H A D | softfloat-macros.h | 97 return c ? (l << c) | (r >> (64 - c)) : l; in shl_double() 115 return c ? (r >> c) | (l << (64 - c)) : r; in shr_double() 441 bool c = 0; in add128() local 442 *z1Ptr = uadd64_carry(a1, b1, &c); in add128() 443 *z0Ptr = uadd64_carry(a0, b0, &c); in add128() 458 bool c = 0; in add192() local 459 *z2Ptr = uadd64_carry(a2, b2, &c); in add192() 460 *z1Ptr = uadd64_carry(a1, b1, &c); in add192() 461 *z0Ptr = uadd64_carry(a0, b0, &c); in add192() 475 bool c = 0; in sub128() local [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | parallels-read-bitmap | 42 for c in chunks: 43 assert c['start'] % cluster == 0 44 assert c['length'] % cluster == 0 45 if c['data']: 48 a = c['start'] // cluster 49 b = (c['start'] + c['length']) // cluster
|
/qemu/hw/rtc/ |
H A D | allwinner-rtc.c | 141 switch (c->regmap[offset]) { in allwinner_rtc_sun6i_read() 158 switch (c->regmap[offset]) { in allwinner_rtc_sun6i_write() 177 if (offset >= c->regmap_size) { in allwinner_rtc_read() 183 if (!c->regmap[offset]) { in allwinner_rtc_read() 189 switch (c->regmap[offset]) { in allwinner_rtc_read() 200 val = s->regs[c->regmap[offset]]; in allwinner_rtc_read() 203 if (!c->read(s, offset)) { in allwinner_rtc_read() 221 if (offset >= c->regmap_size) { in allwinner_rtc_write() 227 if (!c->regmap[offset]) { in allwinner_rtc_write() 235 switch (c->regmap[offset]) { in allwinner_rtc_write() [all …]
|
/qemu/target/mips/sysemu/ |
H A D | meson.build | 2 'addr.c', 3 'cp0.c', 4 'cp0_timer.c', 5 'machine.c', 6 'mips-qmp-cmds.c', 7 'physaddr.c',
|
/qemu/tests/qtest/fuzz/ |
H A D | meson.build | 5 specific_fuzz_ss.add(files('fuzz.c', 'qos_fuzz.c', 6 'qtest_wrappers.c'), qos) 9 specific_fuzz_ss.add(when: 'CONFIG_I440FX', if_true: files('i440fx_fuzz.c')) 10 specific_fuzz_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('virtio_net_fuzz.c')) 11 specific_fuzz_ss.add(when: 'CONFIG_VIRTIO_SCSI', if_true: files('virtio_scsi_fuzz.c')) 12 specific_fuzz_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio_blk_fuzz.c')) 13 specific_fuzz_ss.add(files('generic_fuzz.c'))
|
/qemu/hw/core/ |
H A D | machine-hmp-cmds.c | 54 CpuInstanceProperties *c; in hmp_hotpluggable_cpus() local 69 c = l->value->props; in hmp_hotpluggable_cpus() 71 if (c->has_node_id) { in hmp_hotpluggable_cpus() 74 if (c->has_drawer_id) { in hmp_hotpluggable_cpus() 77 if (c->has_book_id) { in hmp_hotpluggable_cpus() 80 if (c->has_socket_id) { in hmp_hotpluggable_cpus() 83 if (c->has_die_id) { in hmp_hotpluggable_cpus() 86 if (c->has_cluster_id) { in hmp_hotpluggable_cpus() 90 if (c->has_module_id) { in hmp_hotpluggable_cpus() 94 if (c->has_core_id) { in hmp_hotpluggable_cpus() [all …]
|
/qemu/qom/ |
H A D | meson.build | 3 'container.c', 4 'object.c', 5 'object_interfaces.c', 6 'qom-qobject.c', 9 qmp_ss.add(files('qom-qmp-cmds.c')) 10 system_ss.add(files('qom-hmp-cmds.c'))
|
/qemu/target/tricore/ |
H A D | meson.build | 3 'cpu.c', 4 'fpu_helper.c', 5 'helper.c', 6 'op_helper.c', 7 'translate.c', 8 'gdbstub.c',
|
/qemu/target/sh4/ |
H A D | meson.build | 3 'cpu.c', 4 'gdbstub.c', 5 'helper.c', 6 'op_helper.c', 7 'translate.c', 11 sh4_system_ss.add(files('monitor.c'))
|
/qemu/pc-bios/s390-ccw/ |
H A D | netboot.mak | 25 %.o : $(SLOF_DIR)/lib/libc/ctype/%.c 26 $(call quiet-command,$(CC) $(LIBC_CFLAGS) -c -o $@ $<,Compiling) 31 %.o : $(SLOF_DIR)/lib/libc/string/%.c 32 $(call quiet-command,$(CC) $(LIBC_CFLAGS) -c -o $@ $<,Compiling) 35 %.o : $(SLOF_DIR)/lib/libc/stdlib/%.c 36 $(call quiet-command,$(CC) $(LIBC_CFLAGS) -c -o $@ $<,Compiling) 40 %.o : $(SLOF_DIR)/lib/libc/stdio/%.c 41 $(call quiet-command,$(CC) $(LIBC_CFLAGS) -c -o $@ $<,Compiling) 43 sbrk.o: $(SLOF_DIR)/slof/sbrk.c 44 $(call quiet-command,$(CC) $(LIBC_CFLAGS) -c -o $@ $<,Compiling) [all …]
|
/qemu/target/rx/ |
H A D | meson.build | 8 'translate.c', 9 'op_helper.c', 10 'helper.c', 11 'cpu.c', 12 'gdbstub.c', 13 'disas.c'))
|
/qemu/audio/ |
H A D | pwaudio.c | 224 pwaudio *c = v->g; in qpw_read() local 230 pw_thread_loop_lock(c->thread_loop); in qpw_read() 261 pwaudio *c = v->g; in qpw_buffer_get_free() local 286 pwaudio *c = v->g; in qpw_write() local 524 pwaudio *c = v->g = drv_opaque; in qpw_init_out() local 544 r = qpw_stream_new(c, v, ppdo->stream_name ? : c->dev->id, in qpw_init_out() 571 pwaudio *c = v->g = drv_opaque; in qpw_init_in() local 588 r = qpw_stream_new(c, v, ppdo->stream_name ? : c->dev->id, in qpw_init_in() 609 pwaudio *c = v->g; in qpw_voice_fini() local 635 pwaudio *c = v->g; in qpw_voice_set_enabled() local [all …]
|
/qemu/hw/xtensa/ |
H A D | meson.build | 3 'mx_pic.c', 4 'pic_cpu.c', 5 'xtensa_memory.c', 7 xtensa_ss.add(when: 'CONFIG_XTENSA_SIM', if_true: files('sim.c')) 8 xtensa_ss.add(when: 'CONFIG_XTENSA_VIRT', if_true: files('virt.c')) 9 xtensa_ss.add(when: 'CONFIG_XTENSA_XTFPGA', if_true: files('xtfpga.c'))
|
/qemu/tests/tcg/multiarch/ |
H A D | float_madds.c | 38 static void print_inputs(float a, float b, float c) in print_inputs() argument 44 c_fmt = fmt_f32(c); in print_inputs() 66 static void do_madds(float a, float b, float c, int j, int k) in do_madds() argument 70 print_inputs(a, b, c); in do_madds() 73 r = __builtin_fmaf(a, b, c); in do_madds() 81 float a, b, c; in main() local 93 c = get_f32(j + ((k+2)%3)); in main() 94 do_madds(a, b, c, j, k); in main()
|
/qemu/target/avr/ |
H A D | meson.build | 11 'translate.c', 12 'helper.c', 13 'cpu.c', 14 'gdbstub.c', 15 'disas.c')) 17 avr_system_ss.add(files('machine.c'))
|
/qemu/block/export/ |
H A D | meson.build | 1 blockdev_ss.add(files('export.c')) 4 blockdev_ss.add(files('vhost-user-blk-server.c', 'virtio-blk-handler.c')) 7 blockdev_ss.add(when: fuse, if_true: files('fuse.c')) 10 blockdev_ss.add(files('vduse-blk.c', 'virtio-blk-handler.c'))
|
/qemu/hw/cpu/ |
H A D | meson.build | 1 system_ss.add(files('core.c')) 2 system_ss.add(when: 'CONFIG_CPU_CLUSTER', if_true: files('cluster.c')) 4 system_ss.add(when: 'CONFIG_ARM11MPCORE', if_true: files('arm11mpcore.c')) 5 system_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_mpcore.c')) 6 system_ss.add(when: 'CONFIG_A9MPCORE', if_true: files('a9mpcore.c')) 7 specific_ss.add(when: 'CONFIG_A15MPCORE', if_true: files('a15mpcore.c'))
|
/qemu/target/hppa/ |
H A D | fpu_helper.c | 363 c = extract32(c, 4, 1); in update_fr0_cmp() 366 c = extract32(c, 3, 1); in update_fr0_cmp() 369 c = extract32(c, 2, 1); in update_fr0_cmp() 372 c = extract32(c, 1, 1); in update_fr0_cmp() 389 shadow = FIELD_DP32(shadow, FPSR, C, c); in update_fr0_cmp() 397 uint32_t y, uint32_t c) in HELPER() 400 if (c & 1) { in HELPER() 406 update_fr0_cmp(env, y, c, r); in HELPER() 410 uint32_t y, uint32_t c) in HELPER() 413 if (c & 1) { in HELPER() [all …]
|