/qemu/tests/data/qobject/ |
H A D | qdict.txt | 5 11d.h: 2386 27 3780i.h: 14180 32 3c359.h: 7264 35 3c501.h: 2623 37 3c503.h: 3880 39 3c505.h: 6535 48 3c527.h: 1482 66 44x.h: 448 74 4xx.h: 1174 204 abi.h: 782 [all …]
|
/qemu/tests/tcg/hexagon/ |
H A D | hvx_histogram_row.S | 100 { v0.h = vshuff(v0.h) 103 v1.h = vshuff(v1.h) 104 { V2.h = vshuff(v2.h) 107 { v3.h = vshuff(v3.h) 110 { v4.h = vshuff(V4.h) 113 { v5.h = vshuff(v5.h) 116 { v6.h = vshuff(v6.h) 119 { v7.h = vshuff(v7.h) 122 { v8.h = vshuff(V8.h) 125 { v9.h = vshuff(V9.h) [all …]
|
H A D | Makefile.target | 94 atomics: atomics.c hex_test.h 95 brev: brev.c hex_test.h 96 circ: circ.c hex_test.h 98 fpstuff: fpstuff.c hex_test.h 100 load_align: load_align.c hex_test.h 104 misc: misc.c hex_test.h 106 overflow: overflow.c hex_test.h 109 reg_mut: reg_mut.c hex_test.h 112 usr: usr.c hex_test.h 120 hvx_misc: hvx_misc.c hvx_misc.h [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 185 | 65 h=$QEMU_HANDLE 72 _send_qemu_cmd $h \ 80 _send_qemu_cmd $h \ 86 _send_qemu_cmd $h \ 136 h=$QEMU_HANDLE 158 h=$QEMU_HANDLE 183 h=$QEMU_HANDLE 208 h=$QEMU_HANDLE 264 h=$QEMU_HANDLE 283 h=$1 [all …]
|
H A D | qcow2.py | 33 h = QcowHeader(fd) 34 h.dump(is_json) 40 h = QcowHeader(fd) 56 h = QcowHeader(fd) 58 h.update(fd) 68 h = QcowHeader(fd) 71 h.update(fd) 86 h = QcowHeader(fd) 98 h.update(fd) 110 h = QcowHeader(fd) [all …]
|
H A D | common.qemu | 74 local h=${1} 87 QEMU_STATUS[$h]=0 93 while IFS= read ${read_timeout} resp <&${QEMU_OUT[$h]} 141 QEMU_STATUS[$h]=-1 144 echo "Timeout waiting for ${success_match} on handle ${h}" 200 echo "${cmd}" >&${QEMU_IN[${h}]} 207 if [ ${QEMU_STATUS[$h]} -eq 0 ]; then 214 echo "Timeout waiting for command ${1} response on handle ${h}" 269 local h=${1} 283 if [ ${QEMU_STATUS[$h]} -ne 0 ] ; then [all …]
|
H A D | 144 | 63 h=$QEMU_HANDLE 70 _send_qemu_cmd $h "{ 'execute': 'qmp_capabilities' }" "return" 74 _send_qemu_cmd $h "{ 'execute': 'blockdev-snapshot-sync', 89 _send_qemu_cmd $h "{ 'execute': 'block-commit', 95 _wait_event $h "JOB_STATUS_CHANGE" 96 _wait_event $h "JOB_STATUS_CHANGE" 97 _wait_event $h "JOB_STATUS_CHANGE" 99 _wait_event $h "BLOCK_JOB_READY" 103 _send_qemu_cmd $h "{ 'execute': 'block-job-complete', 114 _send_qemu_cmd $h "{ 'execute': 'blockdev-snapshot-sync',
|
H A D | 191 | 71 h=$QEMU_HANDLE 72 _send_qemu_cmd $h "{ 'execute': 'qmp_capabilities' }" '^}' 78 _send_qemu_cmd $h \ 85 _send_qemu_cmd $h "" "^}" 91 _send_qemu_cmd $h "{ 'execute': 'query-named-block-nodes' }" "^}" | 94 _send_qemu_cmd $h "{ 'execute': 'quit' }" "^}" 119 h=$QEMU_HANDLE 120 _send_qemu_cmd $h "{ 'execute': 'qmp_capabilities' }" '^}' 126 _send_qemu_cmd $h \ 133 _send_qemu_cmd $h "" "^}" [all …]
|
H A D | 085 | 73 _send_qemu_cmd $h "${cmd}" "return" 89 _send_qemu_cmd $h "${cmd}" "return" 102 _send_qemu_cmd $h "${cmd}" "return" 128 _send_qemu_cmd $h "${cmd}" "${2:-return}" 142 h=$QEMU_HANDLE 202 _send_qemu_cmd $h "{ 'execute': 'blockdev-snapshot', 213 _send_qemu_cmd $h "{ 'execute': 'blockdev-snapshot', 218 _send_qemu_cmd $h "{ 'execute': 'blockdev-snapshot', 247 _send_qemu_cmd $h "{ 'execute': 'blockdev-snapshot', 257 _send_qemu_cmd $h "{ 'execute': 'blockdev-snapshot', [all …]
|
/qemu/scripts/ |
H A D | analyze-inclusions | 49 echo $(grep_include -F 'hw/hw.h') files include hw/hw.h 85 echo osdep.h: 86 analyze ../include/qemu/osdep.h 88 echo hw/hw.h: 89 analyze -include ../include/qemu/osdep.h ../include/hw/hw.h 91 echo trace/generated-tracers.h: 92 analyze -include ../include/qemu/osdep.h trace/generated-tracers.h 94 echo target/i386/cpu.h: 95 …NG_PER_TARGET -I../target/i386 -Ii386-softmmu -include ../include/qemu/osdep.h ../target/i386/cpu.h 97 echo hw/hw.h + COMPILING_PER_TARGET: [all …]
|
H A D | update-linux-headers.sh | 120 for header in kvm.h unistd.h bitsperlong.h mman.h; do 172 for header in const.h stddef.h kvm.h vfio.h vfio_ccw.h vfio_zdev.h vhost.h \ 173 psci.h psp-sev.h userfaultfd.h memfd.h mman.h nvme_ioctl.h \ 174 vduse.h iommufd.h bits.h; do 180 for header in unistd.h bitsperlong.h mman-common.h mman.h hugetlb_encode.h; do 204 cat <<EOF >$output/linux-headers/linux/virtio_config.h 207 cat <<EOF >$output/linux-headers/linux/virtio_ring.h 210 cat <<EOF >$output/linux-headers/linux/vhost_types.h 216 for i in "$hdrdir"/include/linux/*virtio*.h \ 235 cat <<EOF >$output/include/standard-headers/linux/types.h [all …]
|
H A D | clean-includes | 129 *include/qemu/osdep.h | \ 130 *include/qemu/compiler.h | \ 131 *include/qemu/qemu-plugin.h | \ 132 *include/glib-compat.h | \ 133 *include/sysemu/os-posix.h | \ 134 *include/sysemu/os-win32.h | \ 144 *.h) 145 MODE=h 201 * Ensure .c files include qemu/osdep.h first. 202 * Including it in a .h is redundant, since the .c already includes [all …]
|
/qemu/tests/tcg/mips/include/ |
H A D | wrappers_msa.h | 171 DO_MSA__WD__WS(NLOC_H, nloc.h) 176 DO_MSA__WD__WS(NLZC_H, nlzc.h) 181 DO_MSA__WD__WS(PCNT_H, pcnt.h) 234 DO_MSA__WD__WS_WT(BCLR_H, bclr.h) 239 DO_MSA__WD__WS_WT(BSET_H, bset.h) 244 DO_MSA__WD__WS_WT(BNEG_H, bneg.h) 333 DO_MSA__WD__WS_WT(ADDV_H, addv.h) 378 DO_MSA__WD__WS_WT(CEQ_H, ceq.h) 707 DO_MSA__WD__WS_WT(SLL_H, sll.h) 712 DO_MSA__WD__WS_WT(SRA_H, sra.h) [all …]
|
/qemu/target/mips/tcg/ |
H A D | msa_helper.c | 358 pwd->h[0] = msa_binsl_df(DF_HALF, pwd->h[0], pws->h[0], pwt->h[0]); in helper_msa_binsl_h() 359 pwd->h[1] = msa_binsl_df(DF_HALF, pwd->h[1], pws->h[1], pwt->h[1]); in helper_msa_binsl_h() 360 pwd->h[2] = msa_binsl_df(DF_HALF, pwd->h[2], pws->h[2], pwt->h[2]); in helper_msa_binsl_h() 361 pwd->h[3] = msa_binsl_df(DF_HALF, pwd->h[3], pws->h[3], pwt->h[3]); in helper_msa_binsl_h() 362 pwd->h[4] = msa_binsl_df(DF_HALF, pwd->h[4], pws->h[4], pwt->h[4]); in helper_msa_binsl_h() 363 pwd->h[5] = msa_binsl_df(DF_HALF, pwd->h[5], pws->h[5], pwt->h[5]); in helper_msa_binsl_h() 364 pwd->h[6] = msa_binsl_df(DF_HALF, pwd->h[6], pws->h[6], pwt->h[6]); in helper_msa_binsl_h() 365 pwd->h[7] = msa_binsl_df(DF_HALF, pwd->h[7], pws->h[7], pwt->h[7]); in helper_msa_binsl_h() 439 pwd->h[0] = msa_binsr_df(DF_HALF, pwd->h[0], pws->h[0], pwt->h[0]); in helper_msa_binsr_h() 440 pwd->h[1] = msa_binsr_df(DF_HALF, pwd->h[1], pws->h[1], pwt->h[1]); in helper_msa_binsr_h() [all …]
|
/qemu/tests/tcg/s390x/ |
H A D | vistr.c | 23 .h[0] = 0x1234, .h[1] = 0x0056, .h[2] = 0x7800, .h[3] = 0x0000, in main() 24 .h[4] = 0x0078, .h[5] = 0x0000, .h[6] = 0x6543, .h[7] = 0x2100 in main() 32 if (vd.h[0] != 0x1234 || vd.h[1] != 0x0056 || vd.h[2] != 0x7800 || in main() 33 vd.h[3] || vd.h[4] || vd.h[5] || vd.h[6] || vd.h[7]) { in main()
|
H A D | vxeh2_vlstr.c | 92 .h[0] = 0x1107, .h[1] = 0x3322, .h[2] = 0x5544, .h[3] = 0x7766, in main() 93 .h[4] = 0x9988, .h[5] = 0xBBAA, .h[6] = 0xDDCC, .h[7] = 0x8FEE }; in main() 96 .h[0] = 0xEE8F, .h[1] = 0xCCDD, .h[2] = 0xAABB, .h[3] = 0x8899, in main() 97 .h[4] = 0x6677, .h[5] = 0x4455, .h[6] = 0x2233, .h[7] = 0x0711 }; in main() 115 if (0xEDFE != vd.h[5]) { in main() 133 if (0xAD0B != vd.h[ix]) { in main()
|
/qemu/host/include/aarch64/host/ |
H A D | atomic128-ldst.h | 30 uint64_t l, h; in atomic16_read_ro() local 35 : [l] "=r"(l), [h] "=r"(h) : [mem] "m"(*ptr)); in atomic16_read_ro() 37 return int128_make128(l, h); in atomic16_read_ro() 42 uint64_t l, h; in atomic16_read_rw() local 48 : [l] "=r"(l), [h] "=r"(h) : [mem] "m"(*ptr)); in atomic16_read_rw() 54 : [mem] "+m"(*ptr), [tmp] "=&r"(tmp), [l] "=&r"(l), [h] "=&r"(h)); in atomic16_read_rw() 57 return int128_make128(l, h); in atomic16_read_rw() 62 uint64_t l = int128_getlo(val), h = int128_gethi(val); in atomic16_set() local 68 : [mem] "=m"(*ptr) : [l] "r"(l), [h] "r"(h)); in atomic16_set() 75 : [l] "r"(l), [h] "r"(h)); in atomic16_set()
|
/qemu/include/hw/xen/ |
H A D | xen_backend_ops.h | 271 void (*close)(struct qemu_xs_handle *h); 307 xen_xenstore_ops->close(h); in qemu_xen_xs_close() 316 return xen_xenstore_ops->get_domain_path(h, domid); in qemu_xen_xs_get_domain_path() 326 return xen_xenstore_ops->directory(h, t, path, num); in qemu_xen_xs_directory() 336 return xen_xenstore_ops->read(h, t, path, len); in qemu_xen_xs_read() 346 return xen_xenstore_ops->write(h, t, path, data, len); in qemu_xen_xs_write() 366 return xen_xenstore_ops->destroy(h, t, path); in qemu_xen_xs_destroy() 377 return xen_xenstore_ops->watch(h, path, fn, opaque); in qemu_xen_xs_watch() 386 xen_xenstore_ops->unwatch(h, w); in qemu_xen_xs_unwatch() 394 return xen_xenstore_ops->transaction_start(h); in qemu_xen_xs_transaction_start() [all …]
|
/qemu/tests/tcg/multiarch/ |
H A D | sha512.c | 264 uint64_t t1 = *h + Sigma1(e) + Ch(e, f, g) + k + w; in Round() 267 *h = t1 + t2; in Round() 276 Round(a, b, c, &d, e, f, g, &h, 0x428a2f98d728ae22ull, w0 = be64_to_cpu(chunk[0])); in Transform() 277 Round(h, a, b, &c, d, e, f, &g, 0x7137449123ef65cdull, w1 = be64_to_cpu(chunk[1])); in Transform() 278 Round(g, h, a, &b, c, d, e, &f, 0xb5c0fbcfec4d3b2full, w2 = be64_to_cpu(chunk[2])); in Transform() 279 Round(f, g, h, &a, b, c, d, &e, 0xe9b5dba58189dbbcull, w3 = be64_to_cpu(chunk[3])); in Transform() 368 s[7] += h; in Transform() 951 struct sha512 h; in do_test() local 960 sha512(&h, vector, vector_len); in do_test() 962 memcpy(vector, &h, sizeof(h)); in do_test() [all …]
|
/qemu/hw/xen/ |
H A D | xen-operations.c | 218 struct qemu_xs_handle *h = opaque; in watch_event() local 235 struct qemu_xs_handle *h; in libxenstore_open() local 242 h->xsh = xsh; in libxenstore_open() 244 notifier_list_init(&h->notifiers); in libxenstore_open() 245 qemu_set_fd_handler(xs_fileno(h->xsh), watch_event, NULL, h); in libxenstore_open() 247 return h; in libxenstore_open() 254 xs_close(h->xsh); in libxenstore_close() 255 g_free(h); in libxenstore_close() 299 if (!xs_mkdir(h->xsh, t, path)) { in libxenstore_create() 310 return xs_rm(h->xsh, t, path); in libxenstore_destroy() [all …]
|
H A D | xen-bus-helper.c | 50 void xs_node_create(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_create() argument 56 if (!qemu_xen_xs_create(h, tid, owner, domid, perms, node)) { in xs_node_create() 61 void xs_node_destroy(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_destroy() argument 66 if (!qemu_xen_xs_destroy(h, tid, node)) { in xs_node_destroy() 84 if (!qemu_xen_xs_write(h, tid, path, value, len)) { in xs_node_vprintf() 100 xs_node_vprintf(h, tid, node, key, errp, fmt, ap); in xs_node_printf() 113 value = qemu_xen_xs_read(h, tid, path, NULL); in xs_node_vscanf() 131 int xs_node_scanf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_scanf() argument 139 rc = xs_node_vscanf(h, tid, node, key, errp, fmt, ap); in xs_node_scanf() 157 w = qemu_xen_xs_watch(h, path, fn, opaque); in xs_node_watch() [all …]
|
/qemu/dump/ |
H A D | win_dump.c | 33 #define _WIN_DUMP_FIELD(f) (x64 ? h->x64.f : h->x32.f) 36 #define _WIN_DUMP_FIELD_PTR(f) (x64 ? (void *)&h->x64.f : (void *)&h->x32.f) 39 #define _WIN_DUMP_FIELD_SIZE(f) (x64 ? sizeof(h->x64.f) : sizeof(h->x32.f)) 163 h->x64.unused1 = 0; in patch_header() 184 if (memcmp(h->Signature, Signature, sizeof(h->Signature))) { in check_header() 190 if (!memcmp(h->ValidDump, "DUMP", sizeof(h->ValidDump))) { in check_header() 192 } else if (!memcmp(h->ValidDump, "DU64", sizeof(h->ValidDump))) { in check_header() 438 check_kdbg(h, x64, &local_err); in create_win_dump() 444 patch_header(h, x64); in create_win_dump() 467 write_runs(s, h, x64, &local_err); in create_win_dump() [all …]
|
/qemu/ui/ |
H A D | vnc-enc-zywrle.h | 341 int *h; in filter_wavelet_square() local 348 h = buf; in filter_wavelet_square() 350 h += s >> 1; in filter_wavelet_square() 374 h += s; in filter_wavelet_square() 417 int *h; in filter_wavelet_square() local 424 h = buf; in filter_wavelet_square() 426 h += s >> 1; in filter_wavelet_square() 433 ((int8_t*)h)[0] = m[0][((uint8_t*)h)[0]]; in filter_wavelet_square() 434 ((int8_t*)h)[1] = m[1][((uint8_t*)h)[1]]; in filter_wavelet_square() 435 ((int8_t*)h)[2] = m[2][((uint8_t*)h)[2]]; in filter_wavelet_square() [all …]
|
H A D | vnc-enc-tight.c | 172 if (w > h) { in tight_detect_smooth_image24() 173 x += h; in tight_detect_smooth_image24() 573 for (y = 0; y < h; y++) { in tight_filter_gradient24() 691 for (dy = 0; dy < h; dy++) { in check_solid_tile32() 765 cy < y + h && in extend_solid_area() 1069 bytes = w * h * bytes; in send_gradient_rect() 1130 bytes = w * h; in send_palette_rect() 1198 cinfo.image_height = h; in send_jpeg_rect() 1215 for (dy = 0; dy < h; dy++) { in send_jpeg_rect() 1357 for (dy = 0; dy < h; dy++) in send_png_rect() [all …]
|
/qemu/hw/pci-host/ |
H A D | uninorth.c | 145 memory_region_init_io(&h->conf_mem, OBJECT(h), &pci_host_conf_le_ops, in pci_unin_main_init() 147 memory_region_init_io(&h->data_mem, OBJECT(h), &unin_data_ops, obj, in pci_unin_main_init() 159 sysbus_init_mmio(sbd, &h->conf_mem); in pci_unin_main_init() 160 sysbus_init_mmio(sbd, &h->data_mem); in pci_unin_main_init() 189 memory_region_init_io(&h->conf_mem, OBJECT(h), &pci_host_conf_le_ops, in pci_u3_agp_init() 191 memory_region_init_io(&h->data_mem, OBJECT(h), &unin_data_ops, obj, in pci_u3_agp_init() 203 sysbus_init_mmio(sbd, &h->conf_mem); in pci_u3_agp_init() 233 memory_region_init_io(&h->conf_mem, OBJECT(h), &pci_host_conf_le_ops, in pci_unin_agp_init() 235 memory_region_init_io(&h->data_mem, OBJECT(h), &pci_host_data_le_ops, in pci_unin_agp_init() 266 memory_region_init_io(&h->conf_mem, OBJECT(h), &pci_host_conf_le_ops, in pci_unin_internal_init() [all …]
|