/qemu/tests/tcg/cris/libc/ |
H A D | check_glibc_kernelversion.c | 23 char *cp; \ 48 cp = buf; \ 49 while ((*cp >= '0') && (*cp <= '9')) \ 53 while ((*cp >= '0') && (*cp <= '9')) \ 86 char *cp; in main() local 90 cp = buf; in main() 91 while ((*cp >= '0') && (*cp <= '9')) in main() 93 unsigned int here = *cp++ - '0'; in main() 95 while ((*cp >= '0') && (*cp <= '9')) in main() 98 here += *cp++ - '0'; in main() [all …]
|
/qemu/util/ |
H A D | unicode.c | 67 int cp; in mod_utf8_codepoint() local 78 cp = byte; /* one byte sequence */ in mod_utf8_codepoint() 90 cp = byte & (mask - 1); in mod_utf8_codepoint() 94 cp = -1; /* continuation byte missing */ in mod_utf8_codepoint() 98 cp <<= 6; in mod_utf8_codepoint() 99 cp |= byte & 0x3F; in mod_utf8_codepoint() 101 if (!is_valid_codepoint(cp)) { in mod_utf8_codepoint() 102 cp = -1; in mod_utf8_codepoint() 103 } else if (cp < min_cp[len - 2] && !(cp == 0 && len == 2)) { in mod_utf8_codepoint() 104 cp = -1; /* overlong, not \xC0\x80 */ in mod_utf8_codepoint() [all …]
|
/qemu/scripts/ |
H A D | update-linux-headers.sh | 121 cp "$hdrdir/include/asm/$header" "$output/linux-headers/asm-$arch" 125 cp "$hdrdir/include/asm/sgidefs.h" "$output/linux-headers/asm-mips/" 139 cp "$hdrdir/include/asm/unistd_32.h" "$output/linux-headers/asm-s390/" 140 cp "$hdrdir/include/asm/unistd_64.h" "$output/linux-headers/asm-s390/" 151 cp "$hdrdir/include/asm/unistd_32.h" "$output/linux-headers/asm-x86/" 153 cp "$hdrdir/include/asm/unistd_64.h" "$output/linux-headers/asm-x86/" 165 cp "$hdrdir/include/asm/ptrace.h" "$output/linux-headers/asm-riscv/" 175 cp "$hdrdir/include/linux/$header" "$output/linux-headers/linux" 185 cp "$linux/source/COPYING" "$output/linux-headers" 187 cp "$linux/COPYING" "$output/linux-headers" [all …]
|
/qemu/qobject/ |
H A D | json-writer.c | 109 int cp; in quoted_str() local 114 cp = mod_utf8_codepoint(ptr, 6, &end); in quoted_str() 115 switch (cp) { in quoted_str() 138 if (cp < 0) { in quoted_str() 139 cp = 0xFFFD; /* replacement character */ in quoted_str() 141 if (cp > 0xFFFF) { in quoted_str() 144 0xD800 + ((cp - 0x10000) >> 10), in quoted_str() 145 0xDC00 + ((cp - 0x10000) & 0x3FF)); in quoted_str() 146 } else if (cp < 0x20 || cp >= 0x7F) { in quoted_str() 147 g_string_append_printf(writer->contents, "\\u%04X", cp); in quoted_str() [all …]
|
H A D | json-parser.c | 74 int cp, i; in cvt4hex() local 76 cp = 0; in cvt4hex() 81 cp <<= 4; in cvt4hex() 83 cp |= s[i] - '0'; in cvt4hex() 85 cp |= 10 + s[i] - 'a'; in cvt4hex() 87 cp |= 10 + s[i] - 'A'; in cvt4hex() 92 return cp; in cvt4hex() 135 int cp, trailing; in parse_string() local 182 if (cp >= 0xD800 && cp <= 0xDBFF in parse_string() 185 cp = 0x10000 + ((cp & 0x3FF) << 10); in parse_string() [all …]
|
/qemu/target/arm/tcg/ |
H A D | cpu32.c | 588 { .name = "CPUACTLR", .cp = 15, .opc1 = 0, .crm = 15, 591 .cp = 15, .opc1 = 0, .crn = 9, .crm = 1, .opc2 = 0, 594 .cp = 15, .opc1 = 0, .crn = 9, .crm = 1, .opc2 = 1, 597 .cp = 15, .opc1 = 0, .crn = 9, .crm = 1, .opc2 = 2, 600 .cp = 15, .opc1 = 1, .crn = 9, .crm = 1, .opc2 = 0, 603 .cp = 15, .opc1 = 1, .crn = 9, .crm = 1, .opc2 = 1, 606 .cp = 15, .opc1 = 1, .crn = 9, .crm = 1, .opc2 = 2, 609 .cp = 15, .opc1 = 0, .crn = 11, .crm = 0, .opc2 = 0, 612 .cp = 15, .opc1 = 0, .crn = 15, .crm = 0, .opc2 = 0, 615 .cp = 15, .opc1 = 0, .crn = 15, .crm = 0, .opc2 = 1, [all …]
|
H A D | translate-m-nocp.c | 736 if (a->cp == 11) { in trans_NOCP() 737 a->cp = 10; in trans_NOCP() 740 (a->cp == 8 || a->cp == 9 || a->cp == 14 || a->cp == 15)) { in trans_NOCP() 742 a->cp = 10; in trans_NOCP() 745 if (a->cp != 10) { in trans_NOCP()
|
H A D | m-nocp.decode | 35 &nocp cp 68 NOCP 111- 1110 ---- ---- ---- cp:4 ---- ---- &nocp 69 NOCP 111- 110- ---- ---- ---- cp:4 ---- ---- &nocp 71 NOCP_8_1 111- 1111 ---- ---- ---- ---- ---- ---- &nocp cp=10
|
/qemu/roms/ |
H A D | Makefile | 80 cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios.bin 87 cp seabios/builds/vga-isavga/vgabios.bin ../pc-bios/vgabios.bin 90 cp seabios/builds/vga-$*/vgabios.bin ../pc-bios/vgabios-$*.bin 94 cp $< seabios/builds/$*/.config 112 cp ipxe/src/bin/$(VID)$(DID).rom ../pc-bios/pxe-$*.rom 134 cp SLOF/boot_rom.bin ../pc-bios/slof.bin 150 cp skiboot/skiboot.lid ../pc-bios/skiboot.lid 186 cp qboot/build/bios.bin ../pc-bios/qboot.rom 190 cp vbootrom/npcm7xx_bootrom.bin ../pc-bios/npcm7xx_bootrom.bin 194 cp seabios-hppa/out/hppa-firmware.img ../pc-bios/ [all …]
|
H A D | configure-seabios.sh | 4 cp "$config" seabios/.config
|
/qemu/target/arm/ |
H A D | cortex-regs.c | 35 .cp = 15, .opc1 = 1, .crn = 9, .crm = 0, .opc2 = 2, 42 .cp = 15, .opc1 = 1, .crn = 9, .crm = 0, .opc2 = 3, 51 .cp = 15, .opc1 = 0, .crm = 15, 57 .cp = 15, .opc1 = 1, .crm = 15, 63 .cp = 15, .opc1 = 2, .crm = 15, 69 .cp = 15, .opc1 = 3, .crm = 15,
|
H A D | debug_helper.c | 980 { .name = "OSDTRRX_EL1", .state = ARM_CP_STATE_BOTH, .cp = 14, 984 { .name = "OSDTRTX_EL1", .state = ARM_CP_STATE_BOTH, .cp = 14, 989 { .name = "DBGDTR_EL0", .state = ARM_CP_STATE_BOTH, .cp = 14, 998 { .name = "OSECCR_EL1", .state = ARM_CP_STATE_BOTH, .cp = 14, 1009 .cp = 14, .opc1 = 0, .crn = 0, .crm = 1, .opc2 = 0, 1037 .cp = 14, .opc1 = 0, .crn = 0, .crm = 7, .opc2 = 0, 1082 { .name = "DBGDRAR", .cp = 14, .crm = 1, .opc1 = 0, 1085 { .name = "DBGDSAR", .cp = 14, .crm = 2, .opc1 = 0, 1174 .name = "DBGDIDR", .cp = 14, .crn = 0, .crm = 0, in define_debug_regs() 1195 .cp = 14, .opc1 = 0, .crn = 7, .opc2 = 2, .crn = 7, in define_debug_regs() [all …]
|
H A D | helper.c | 4566 { .name = "C9", .cp = 15, .crn = 9, 4611 { .name = "C15_IMPDEF", .cp = 15, .crn = 15, 6413 .cp = 15, .opc1 = 6, .crm = 2, 10005 int cp = r->cp; in add_cpreg_to_hashtable() local 10013 cp = 15; in add_cpreg_to_hashtable() 10026 cp = CP_REG_ARM64_SYSREG_CP; in add_cpreg_to_hashtable() 10078 r2->cp = cp; in add_cpreg_to_hashtable() 10244 if (r->cp == 0) { in define_one_arm_cp_reg_with_opaque() 10251 assert(r->cp >= 14 && r->cp <= 15); in define_one_arm_cp_reg_with_opaque() 10253 assert(r->cp < 8 || (r->cp >= 14 && r->cp <= 15)); in define_one_arm_cp_reg_with_opaque() [all …]
|
/qemu/hw/ppc/ |
H A D | pegasos2.c | 975 const char *cp = "/cpus/PowerPC,G4"; in build_fdt() local 976 qemu_fdt_add_subnode(fdt, cp); in build_fdt() 977 qemu_fdt_setprop_cell(fdt, cp, "l2cr", 0); in build_fdt() 979 qemu_fdt_setprop_cell(fdt, cp, "d-cache-block-size", in build_fdt() 981 qemu_fdt_setprop_cell(fdt, cp, "d-cache-line-size", in build_fdt() 984 qemu_fdt_setprop_cell(fdt, cp, "i-cache-block-size", in build_fdt() 986 qemu_fdt_setprop_cell(fdt, cp, "i-cache-line-size", in build_fdt() 997 qemu_fdt_setprop_string(fdt, cp, "state", "running"); in build_fdt() 999 qemu_fdt_setprop_string(fdt, cp, "altivec", ""); in build_fdt() 1015 qemu_fdt_setprop_cell(fdt, cp, "timebase-frequency", in build_fdt() [all …]
|
/qemu/hw/block/ |
H A D | ecc.c | 61 s->cp ^= idx & 0x3f; in ecc_digest() 76 s->cp = 0x00; in ecc_reset() 86 VMSTATE_UINT8(cp, ECCState),
|
/qemu/linux-user/arm/nwfpe/ |
H A D | fpa11.c | 141 unsigned int cp; in EmulateAll() local 147 cp = (opcode >> 8) & 0xf; in EmulateAll() 148 if (cp != 1 && cp != 2) { in EmulateAll()
|
/qemu/hw/i386/kvm/ |
H A D | xen_primary_console.c | 40 void *cp; member 63 s->cp = memory_region_get_ram_ptr(&s->console_page); in xen_primary_console_realize() 64 memset(s->cp, 0, XEN_PAGE_SIZE); in xen_primary_console_realize() 138 return s->cp; in xen_primary_console_get_map()
|
/qemu/tests/qemu-iotests/ |
H A D | 261 | 235 cp "$TEST_IMG.v2.orig" "$TEST_IMG.v3.orig" 247 cp "$TEST_IMG.v2.orig" "$TEST_IMG" 275 cp "$TEST_IMG.$subver.orig" "$TEST_IMG" 287 cp "$TEST_IMG.$subver.orig" "$TEST_IMG" 297 cp "$TEST_IMG.$subver.orig" "$TEST_IMG"
|
H A D | 048 | 70 cp "$TEST_IMG_FILE" "${TEST_IMG_FILE2}" 95 cp "$TEST_IMG_FILE" "$TEST_IMG_FILE2"
|
H A D | 156 | 113 cp "$TEST_IMG.backing" "$TEST_IMG.target.backing" 114 cp "$TEST_IMG" "$TEST_IMG.target"
|
/qemu/tests/tcg/multiarch/ |
H A D | test-mmap.c | 302 char *cp; in check_file_unfixed_eof_mmaps() local 326 cp = (void *) p1; in check_file_unfixed_eof_mmaps() 327 fail_unless (cp[pagesize - 4] == 0); in check_file_unfixed_eof_mmaps() 336 char *cp; in check_file_fixed_eof_mmaps() local 369 cp = (void *)p1; in check_file_fixed_eof_mmaps() 370 fail_unless (cp[pagesize - 4] == 0); in check_file_fixed_eof_mmaps()
|
/qemu/scripts/oss-fuzz/ |
H A D | build.sh | 78 cp "$i" "$DEST_DIR/lib/" 99 cp "./qemu-fuzz-i386" "$base_copy"
|
/qemu/tests/unit/ |
H A D | rcutorture.c | 303 struct rcu_stress *cp = qatomic_read(&rcu_stress_current); in rcu_update_stress_test() local 320 assert(p != cp); in rcu_update_stress_test() 326 cp = p; in rcu_update_stress_test()
|
/qemu/include/hw/xtensa/ |
H A D | xtensa-isa.h | 215 unsigned char *cp, int num_chars); 218 const unsigned char *cp, int num_chars); 247 int xtensa_isa_length_from_chars(xtensa_isa isa, const unsigned char *cp);
|
/qemu/tests/migration/ |
H A D | initrd-stress.sh | 9 cp "$STRESS" "$INITRD_DIR/init"
|