Searched +full:0 +full:- +full:9 (Results 1 – 25 of 1057) sorted by relevance
12345678910>>...43
29 02110-1301, USA. */31 /* ------------------------------------------------------------------------ */33 /* [Automatically generated -- do not edit. 2007.05.05] */34 /* ------------------------------------------------------------------------ */35 /* ------------------------------------------------------------------------ */41 /* uint16_t BCD2DPD[2458]; -- BCD -> DPD (0x999 => 2457) */42 /* uint16_t BIN2DPD[1000]; -- Bin -> DPD (999 => 2457) */43 /* uint8_t BIN2CHAR[4001]; -- Bin -> CHAR (999 => '\3' '9' '9' '9') */44 /* uint8_t BIN2BCD8[4000]; -- Bin -> bytes (999 => 9 9 9 3) */45 /* uint16_t DPD2BCD[1024]; -- DPD -> BCD (0x3FF => 0x999) */[all …]
29 02110-1301, USA. */31 /* ------------------------------------------------------------------ */33 /* ------------------------------------------------------------------ */38 /* ------------------------------------------------------------------ */49 /* Conditional code flag -- set this to match hardware platform */50 /* 1=little-endian, 0=big-endian */52 #define DECLITEND 057 /* Conditional code flag -- set this to 1 for best performance */58 #define DECUSE64 1 /* 1=use int64s, 0=int32 & smaller only */60 /* Conditional check flags -- set these to 0 for best performance */[all …]
4 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.24 sed -Ee 's/[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}/yyyy-mm-dd hh:mm:ss/'29 sed -E -e 's/[0-9. ]{5} [KMGT]iB/ SIZE/' \30 -e 's/[0-9. ]{5} B/ SIZE/'35 sed -Ee 's/\#block[0-9]{3,}/NODE_NAME/'40 gsed -e '/Attached to:/s/\device[[0-9]\+\]/device[N]/g'46 sed -e "s#$TEST_DIR/#TEST_DIR/#g" \47 -e "s#$SOCK_DIR/#SOCK_DIR/#g" \48 -e "s#SOCK_DIR/fuse-#TEST_DIR/#g"54 sed -e "s#$IMGFMT#IMGFMT#g"[all …]
26 echo "alloc $(( start + (i - 1) * step )) $size"44 echo "$op -P $pattern $(( start + (i - 1) * step )) $size"54 local pattern=$(( (start >> 9) % 256 ))60 do_io "$@" 0 | $QEMU_IO "$TEST_IMG" | _filter_qemu_io98 offset=$(( ((offset + l2_size - 1) & ~(l2_size - 1)) - (3 * half_cluster) ))108 # Pattern (repeat after 9 clusters):109 # used - used - free - used - compressed - compressed -110 # free - free - compressed114 io_pattern writev $((offset + 4 * $cluster_size)) $cluster_size $((9 * $cluster_size)) $num 165116 io_pattern writev $((offset + 5 * $cluster_size)) $cluster_size $((9 * $cluster_size)) $num 165[all …]
2 * 9P network client for VirtIO 9P test cases (based on QTest)7 * See the COPYING file in the top-level directory.11 * Not so fast! You might want to read the 9p developer docs first:12 * https://wiki.qemu.org/Documentation/9p18 #include "hw/9pfs/9p.h"19 #include "hw/9pfs/9p-synth.h"20 #include "virtio-9p.h"22 #include "tests/qtest/libqtest-single.h"24 #define P9_MAX_SIZE 4096 /* Max size of a T-message or R-message */65 #define P9_GETATTR_BASIC 0x000007ffULL /* Mask for fields up to BLOCKS */[all …]
20 * Not so fast! You might want to read the 9p developer docs first:21 * https://wiki.qemu.org/Documentation/9p27 #include "standard-headers/linux/virtio_ids.h"28 #include "virtio-9p.h"49 char *template = concat_path(pwd, "qtest-9p-local-XXXXXX"); in virtio_9p_create_local_test_dir()59 g_assert(stat(local_test_path, &st) == 0); in virtio_9p_create_local_test_dir()67 g_autofree char *cmd = g_strdup_printf("rm -fr '%s'\n", local_test_path); in virtio_9p_remove_local_test_dir()69 if (res < 0) { in virtio_9p_remove_local_test_dir()84 qvirtqueue_cleanup(interface->vdev->bus, interface->vq, alloc); in virtio_9p_cleanup()91 features = qvirtio_get_features(interface->vdev); in virtio_9p_setup()[all …]
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>2 <!-- Created with Inkscape (http://www.inkscape.org/) -->7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"24 style="stop-color:#000000;stop-opacity:1;"25 offset="0"30 style="stop-color:#000000;stop-opacity:0.87843138;" />32 style="stop-color:#ffffff;stop-opacity:0.43921569;"38 style="stop-color:#181818;stop-opacity:1;" />40 style="stop-color:#242424;stop-opacity:1;"[all …]
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>2 <!-- Created with Inkscape (http://www.inkscape.org/) -->7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"26 style="stop-color:#000000;stop-opacity:1;"27 offset="0"32 style="stop-color:#000000;stop-opacity:0.87843138;" />34 style="stop-color:#ffffff;stop-opacity:0.43921569;"40 style="stop-color:#181818;stop-opacity:1;" />42 style="stop-color:#242424;stop-opacity:1;"[all …]
... = %6s MHz %-12s= 0x%0*lx %-12s= ...
2 * QTest testcase for VirtIO 9P7 * See the COPYING file in the top-level directory.11 * Not so fast! You might want to read the 9p developer docs first:12 * https://wiki.qemu.org/Documentation/9p17 #include "libqos/virtio-9p-client.h"38 size_t tag_len = qvirtio_config_readw(v9p->vdev, 0); in pci_config()45 for (i = 0; i < tag_len; i++) { in pci_config()46 tag[i] = qvirtio_config_readb(v9p->vdev, i + 2); in pci_config()54 return a[0] == b[0] && memcmp(&a[5], &b[5], 8) == 0; in is_same_qid()78 for (i = 0; i < P9_MAXWELEM; i++) { in fs_walk()[all …]
10 * option) any later version. See the COPYING file in the top-level directory.15 #include "libqtest-single.h"18 #include "libqos/virtio-iommu.h"19 #include "hw/virtio/virtio-iommu.h"21 #define PCI_SLOT_HP 0x0629 QVirtioDevice *dev = v_iommu->vdev; in pci_config()36 g_assert_cmpint(input_range_start, ==, 0); in pci_config()38 g_assert_cmpint(domain_range_start, ==, 0); in pci_config()47 for (i = 0; i < 3; i++) { in read_tail_status()48 g_assert_cmpint(buffer->reserved[i], ==, 0); in read_tail_status()[all …]
10 * See the COPYING.LIB file in the top-level directory.15 #include "json-parser-int.h"28 * begin-array = ws %x5B ws ; [ left square bracket29 * begin-object = ws %x7B ws ; { left curly bracket30 * end-array = ws %x5D ws ; ] right square bracket31 * end-object = ws %x7D ws ; } right curly bracket32 * name-separator = ws %x3A ws ; : colon33 * value-separator = ws %x2C ws ; , comma49 * [This lexer accepts [a-z]+, and leaves rejecting unknown literal55 * decimal-point = %x2E ; .[all …]
9 { 4, 2, 2, 0 }, /* normal cases */10 { 9, 7, 1, 2 },11 { 0, 0, -1, 0 }, /* div by zero cases */12 { 9, 0, -1, 9 },13 { LONG_MIN, -1, LONG_MIN, 0 }, /* overflow case */21 { 4, 2, 2, 0 }, /* normal cases */22 { 9, 7, 1, 2 },23 { 0, 0, ULONG_MAX, 0 }, /* div by zero cases */24 { 9, 0, ULONG_MAX, 9 },33 for (i = 0; i < ARRAY_SIZE(test_s); i++) { in main()[all …]
5 * See the COPYING.LIB file in the top-level directory.10 #include "qemu/interval-tree.h"19 if (last - start > INT32_MAX) { in rand_interval()22 l_max = last - start; in rand_interval()24 s_ofs = g_test_rand_int_range(0, l_max); in rand_interval()27 n->start = start + s_ofs; in rand_interval()28 n->last = start + l_ofs; in rand_interval()35 g_assert(interval_tree_iter_first(&root, 0, UINT64_MAX) == NULL); in test_empty()41 nodes[0].start = 1; in test_find_one_point()42 nodes[0].last = 1; in test_find_one_point()[all …]
4 * Copyright (c) 2003-2008 Fabrice Bellard22 #include "user-internals.h"24 #include "signal-common.h"29 env->pc = env->sregs[EPC1]; in xtensa_rfw()34 env->sregs[WINDOW_START] |= (1 << env->sregs[WINDOW_BASE]); in xtensa_rfwu()40 env->sregs[WINDOW_START] &= ~(1 << env->sregs[WINDOW_BASE]); in xtensa_rfwo()46 put_user_ual(env->regs[0], env->regs[5] - 16); in xtensa_overflow4()47 put_user_ual(env->regs[1], env->regs[5] - 12); in xtensa_overflow4()48 put_user_ual(env->regs[2], env->regs[5] - 8); in xtensa_overflow4()49 put_user_ual(env->regs[3], env->regs[5] - 4); in xtensa_overflow4()[all …]
7 #include "fsdev/file-op-9p.h"8 #include "fsdev/9p-iov-marshal.h"87 P9_QTDIR = 0x80,88 P9_QTAPPEND = 0x40,89 P9_QTEXCL = 0x20,90 P9_QTMOUNT = 0x10,91 P9_QTAUTH = 0x08,92 P9_QTTMP = 0x04,93 P9_QTSYMLINK = 0x02,94 P9_QTLINK = 0x01,[all …]
2 * 9p user. xattr callback10 * the COPYING file in the top-level directory.15 * Not so fast! You might want to read the 9p developer docs first:16 * https://wiki.qemu.org/Documentation/9p20 #include "9p.h"21 #include "fsdev/file-op-9p.h"22 #include "9p-xattr.h"28 if (strncmp(name, "user.virtfs.", 12) == 0) { in mp_user_getxattr()34 return -1; in mp_user_getxattr()43 if (strncmp(name, "user.virtfs.", 12) == 0) { in mp_user_listxattr()[all …]
2 * 9p xattr callback10 * the COPYING file in the top-level directory.15 * Not so fast! You might want to read the 9p developer docs first:16 * https://wiki.qemu.org/Documentation/9p20 #include "9p.h"21 #include "fsdev/file-op-9p.h"22 #include "9p-xattr.h"23 #include "9p-util.h"24 #include "9p-local.h"32 if (!strncmp(name, xops->name, strlen(xops->name))) { in get_xattr_operations()[all …]
2 * 9p system.posix* xattr callback10 * the COPYING file in the top-level directory.15 * Not so fast! You might want to read the 9p developer docs first:16 * https://wiki.qemu.org/Documentation/9p21 #include "9p.h"22 #include "fsdev/file-op-9p.h"23 #include "9p-xattr.h"47 return -1; in mp_pacl_listxattr()52 return 0; in mp_pacl_listxattr()72 if (ret == -1 && errno == ENOATTR) { in mp_pacl_removexattr()[all …]
1 /* SPDX-License-Identifier: GPL-2.0-only */3 * Copyright © 2022-2023 Rivos Inc.4 * Copyright © 2023 FORTH-ICS/CARV5 * Copyright © 2023 RISC-V IOMMU Task Group7 * RISC-V IOMMU - Register Layout and Data Structures.10 * https://github.com/riscv-non-isa/riscv-iommu16 #define RISCV_IOMMU_SPEC_DOT_VER 0x01019 #define GENMASK_ULL(h, l) (((~0ULL) >> (63 - (h) + (l))) << (l))23 * struct riscv_iommu_fq_record - Fault/Event Queue Record33 #define RISCV_IOMMU_FQ_HDR_CAUSE GENMASK_ULL(11, 0)[all …]
6 -------15 -----------------16 - INTC: Handles interrupt sources 0 - 127 and integrates signals from INTCIO.17 - INTCIO: Handles interrupt sources 128 - 319 independently.20 ------------22 from INTCIO and connected to INTC at input pin 0 and output pins 0 to 9 for23 GIC 192-201.26 ---------------------27 The orgate has interrupt sources ranging from 0 to 31, with its output pin32 -----------------------------------[all …]
8 * SPDX-License-Identifier: GPL-2.0-or-later12 * https://www.xilinx.com/support/documentation/architecture-manuals/am011-versal-acap-trm.pdf15 * https://docs.xilinx.com/r/en-US/am012-versal-register-reference/CFU_CSR-Module22 #include "hw/misc/xlnx-cfi-if.h"25 #define TYPE_XLNX_VERSAL_CFU_APB "xlnx-versal-cfu-apb"28 #define TYPE_XLNX_VERSAL_CFU_FDRO "xlnx-versal-cfu-fdro"31 #define TYPE_XLNX_VERSAL_CFU_SFR "xlnx-versal-cfu-sfr"34 REG32(CFU_ISR, 0x0)35 FIELD(CFU_ISR, USR_GTS_EVENT, 9, 1)44 FIELD(CFU_ISR, SEU_ENDOFCALIB, 0, 1)[all …]
2 * HP-PARISC Dino PCI chipset emulation, as in B160L and similar machines4 * (C) 2017-2019 by Helge Deller <deller@gmx.de>9 * https://parisc.wiki.kernel.org/images-parisc/9/91/Dino_ers.pdf10 * https://parisc.wiki.kernel.org/images-parisc/7/70/Dino_3_1_Errata.pdf18 #define TYPE_DINO_PCI_HOST_BRIDGE "dino-pcihost"21 #define DINO_IAR0 0x00422 #define DINO_IODC 0x00823 #define DINO_IRR0 0x00C /* RO */24 #define DINO_IAR1 0x01025 #define DINO_IRR1 0x014 /* RO */[all …]
13 #include "hw/qdev-properties.h"75 if (s->csr[0] & CSR0_DBO) { in tulip_desc_read()76 ldl_be_pci_dma(&s->dev, p, &desc->status, attrs); in tulip_desc_read()77 ldl_be_pci_dma(&s->dev, p + 4, &desc->control, attrs); in tulip_desc_read()78 ldl_be_pci_dma(&s->dev, p + 8, &desc->buf_addr1, attrs); in tulip_desc_read()79 ldl_be_pci_dma(&s->dev, p + 12, &desc->buf_addr2, attrs); in tulip_desc_read()81 ldl_le_pci_dma(&s->dev, p, &desc->status, attrs); in tulip_desc_read()82 ldl_le_pci_dma(&s->dev, p + 4, &desc->control, attrs); in tulip_desc_read()83 ldl_le_pci_dma(&s->dev, p + 8, &desc->buf_addr1, attrs); in tulip_desc_read()84 ldl_le_pci_dma(&s->dev, p + 12, &desc->buf_addr2, attrs); in tulip_desc_read()[all …]
2 * RISC-V linux replacement vdso.6 * SPDX-License-Identifier: GPL-2.0-or-later15 #include "vdso-asmoffset.h"22 .size \name, . - \name45 sw zero, 0(a1) /* tz->tz_minuteswest = 0 */46 sw zero, 4(a1) /* tz->tz_dsttime = 0 */47 1: addi sp, sp, -3252 lw t0, 0(sp) /* timespec.tv_sec.low */57 .cfi_adjust_cfa_offset -3258 bne a0, zero, 9f /* syscall error? */[all …]