Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 36) sorted by relevance

12

/xen/tools/tests/x86_emulator/
A Dx86-emulate.h71 extern struct cpuid_policy cp;
132 #define cpu_has_fpu cp.basic.fpu
133 #define cpu_has_mmx cp.basic.mmx
134 #define cpu_has_fxsr cp.basic.fxsr
135 #define cpu_has_sse cp.basic.sse
136 #define cpu_has_sse2 cp.basic.sse2
149 #define cpu_has_bmi1 cp.feat.bmi1
150 #define cpu_has_bmi2 cp.feat.bmi2
156 #define cpu_has_sha cp.feat.sha
161 #define cpu_has_gfni cp.feat.gfni
[all …]
A Dx86-emulate.c34 struct cpuid_policy cp; variable
81 x86_cpuid_policy_fill_native(&cp); in emul_test_init()
87 cp.basic.movbe = true; in emul_test_init()
88 cp.feat.invpcid = true; in emul_test_init()
89 cp.feat.adx = true; in emul_test_init()
90 cp.feat.avx512pf = cp.feat.avx512f; in emul_test_init()
91 cp.feat.rdpid = true; in emul_test_init()
92 cp.extd.clzero = true; in emul_test_init()
/xen/tools/debugger/gdbsx/xg/
A Dxg_main.c530 rp->cs = cp->cs; in _cp_32ctxt_to_32gdb()
533 rp->ss = cp->ss; in _cp_32ctxt_to_32gdb()
536 rp->fs = cp->fs; in _cp_32ctxt_to_32gdb()
537 rp->gs = cp->gs; in _cp_32ctxt_to_32gdb()
552 rp->cs = cp->cs; in _cp_64ctxt_to_32gdb()
555 rp->ss = cp->ss; in _cp_64ctxt_to_32gdb()
558 rp->fs = cp->fs; in _cp_64ctxt_to_32gdb()
559 rp->gs = cp->gs; in _cp_64ctxt_to_32gdb()
585 rp->cs = cp->cs; in _cp_64ctxt_to_64gdb()
586 rp->ss = cp->ss; in _cp_64ctxt_to_64gdb()
[all …]
/xen/tools/fuzz/cpu-policy/
A Dafl-policy-fuzzer.c37 cp->basic.raw[4] = EMPTY_LEAF; in check_cpuid()
38 cp->basic.raw[7] = EMPTY_LEAF; in check_cpuid()
41 data_end = offsetof(typeof(*cp), x86_vendor) + sizeof(cp->x86_vendor); in check_cpuid()
42 if ( data_end < sizeof(*cp) ) in check_cpuid()
43 memset((void *)cp + data_end, 0, sizeof(*cp) - data_end); in check_cpuid()
62 if ( memcmp(cp, &new, sizeof(*cp)) != 0 ) in check_cpuid()
163 cp = calloc(1, sizeof(*cp)); in main()
165 if ( !cp || !mp ) in main()
168 fread(cp, sizeof(*cp), 1, fp); in main()
174 check_cpuid(cp); in main()
[all …]
/xen/xen/common/
A Dvsprintf.c42 cp++; in simple_strtoul()
43 if ((toupper(*cp) == 'X') && isxdigit(cp[1])) { in simple_strtoul()
49 if (cp[0] == '0' && toupper(cp[1]) == 'X') in simple_strtoul()
53 (value = isdigit(*cp) ? *cp-'0' : toupper(*cp)-'A'+10) < base) { in simple_strtoul()
55 cp++; in simple_strtoul()
72 if(*cp=='-') in simple_strtol()
95 if ((toupper(*cp) == 'X') && isxdigit(cp[1])) { in simple_strtoull()
101 if (cp[0] == '0' && toupper(cp[1]) == 'X') in simple_strtoull()
104 while (isxdigit(*cp) && (value = isdigit(*cp) ? *cp-'0' : (islower(*cp) in simple_strtoull()
107 cp++; in simple_strtoull()
[all …]
A Ddevice_tree.c214 const char* cp; in dt_device_is_compatible() local
218 if ( cp == NULL ) in dt_device_is_compatible()
224 l = strlen(cp) + 1; in dt_device_is_compatible()
225 cp += l; in dt_device_is_compatible()
495 u64 cp, s, da; in dt_bus_default_map() local
497 cp = dt_read_number(range, na); in dt_bus_default_map()
513 if ( da < cp || da >= (cp + s) ) in dt_bus_default_map()
515 return da - cp; in dt_bus_default_map()
580 u64 cp, s, da; in dt_bus_pci_map() local
599 if (da < cp || da >= (cp + s)) in dt_bus_pci_map()
[all …]
/xen/xen/arch/x86/
A Dmsr.c170 const struct cpuid_policy *cp = d->arch.cpuid; in guest_rdmsr() local
238 if ( !cp->feat.ibrsb ) in guest_rdmsr()
248 if ( !cp->feat.arch_caps ) in guest_rdmsr()
290 if ( !cp->xstate.xsaves ) in guest_rdmsr()
309 if ( !cp->extd.rdtscp && !cp->feat.rdpid ) in guest_rdmsr()
317 if ( !cp->extd.dbext ) in guest_rdmsr()
438 if ( !cp->feat.ibrsb ) in guest_wrmsr()
455 if ( !cp->feat.ibrsb && !cp->extd.ibpb ) in guest_wrmsr()
466 if ( !cp->feat.l1d_flush ) in guest_wrmsr()
524 if ( !cp->xstate.xsaves ) in guest_wrmsr()
[all …]
/xen/tools/libfsimage/zfs/
A Dzfs_sha256.c71 SHA256Transform(uint32_t *H, const uint8_t *cp) in SHA256Transform() argument
75 for (t = 0; t < 16; t++, cp += 4) in SHA256Transform()
76 W[t] = (cp[0] << 24) | (cp[1] << 16) | (cp[2] << 8) | cp[3]; in SHA256Transform()
A Dfsys_zfs.c488 const uint8_t *cp; in zap_hash() local
507 for (cp = (const uint8_t *)name; (c = *cp) != '\0'; cp++) in zap_hash()
/xen/automation/scripts/
A Dbuild46 cp xen/.config xen-config
49 cp xen/xen binaries/xen
/xen/xen/include/xen/
A Dlib.h169 const char *cp,const char **endp, unsigned int base);
171 const char *cp,const char **endp, unsigned int base);
173 const char *cp,const char **endp, unsigned int base);
175 const char *cp,const char **endp, unsigned int base);
/xen/docs/process/
A Dbranching-checklist.txt62 cp xen--master.patchbot-reported-heads xen--stable-$v.patchbot-reported-heads
63 cp xen--staging.patchbot-reported-heads xen--staging-$v.patchbot-reported-heads
64 cp qemu-xen--master.patchbot-reported-heads qemu-xen--stable-$v.patchbot-reported-heads
65 cp qemu-xen--staging.patchbot-reported-heads qemu-xen--staging-$v.patchbot-reported-heads
66cp qemu-xen-traditional--master.patchbot-reported-heads qemu-xen-traditional--stable-$v.patchbot-r…
/xen/tools/misc/
A Dmkdeb31 cp -a install deb
35 cp -a deb/usr/lib64/* deb/usr/lib/
/xen/xen/arch/arm/
A Dvcpreg.c604 const struct hsr_cp cp = hsr.cp; in do_cp() local
612 ASSERT(!cp.tas); /* We don't trap SIMD instruction */ in do_cp()
613 gdprintk(XENLOG_ERR, "unhandled CP%d access\n", cp.coproc); in do_cp()
/xen/tools/firmware/vgabios/
A Ddataseghack21 cp $1 $1.orig
/xen/stubdom/
A Docaml.patch13 cp libcamlrun_shared.so $(LIBDIR)/libcamlrun_shared.so
/xen/tools/firmware/
A Dovmf-makefile21 cp Build/OvmfX64/$(TARGET)_GCC*/FV/OVMF.fd ovmf.bin
A DMakefile24 cp ovmf-makefile ovmf-dir/Makefile;
28 cp seabios-config seabios-dir/.config;
/xen/tools/tests/vhpet/
A DMakefile36 cp $< $@
/xen/xen/tools/kconfig/
A Dmerge_config.sh157 cp -T -- "$TMP_FILE" "$KCONFIG_CONFIG"
A DMakefile.kconfig104 cp -f $< $@
/xen/xen/xsm/flask/
A DMakefile50 cmp -s $(POLICY_SRC) $@ || cp $(POLICY_SRC) $@
/xen/xen/include/asm-arm/
A Dhsr.h80 } cp; /* HSR_EC_CP */ member
/xen/docs/
A DMakefile154 cp -r man$(1) $(DESTDIR)$(mandir)
180 [ ! -d html ] || cp -R html $(DESTDIR)$(docdir)
/xen/tools/tests/mce-test/lib/
A Dxen-mceinj-tool.sh76 cp $originconfig $config -f

Completed in 39 milliseconds

12