Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 80) sorted by relevance

1234

/xen/xen/lib/x86/
A Dcpuid.c73 cpuid_leaf(0, &p->basic.raw[0]); in x86_cpuid_policy_fill_native()
84 cpuid_leaf(i, &p->basic.raw[i]); in x86_cpuid_policy_fill_native()
109 if ( i == ARRAY_SIZE(p->cache.raw) ) in x86_cpuid_policy_fill_native()
146 if ( i == ARRAY_SIZE(p->topo.raw) && in x86_cpuid_policy_fill_native()
194 memset(p->cache.raw, 0, sizeof(p->cache.raw)); in x86_cpuid_policy_clear_out_of_range_leaves()
201 zero_leaves(p->cache.raw, i, ARRAY_SIZE(p->cache.raw) - 1); in x86_cpuid_policy_clear_out_of_range_leaves()
205 memset(p->feat.raw, 0, sizeof(p->feat.raw)); in x86_cpuid_policy_clear_out_of_range_leaves()
211 memset(p->topo.raw, 0, sizeof(p->topo.raw)); in x86_cpuid_policy_clear_out_of_range_leaves()
218 zero_leaves(p->topo.raw, i, ARRAY_SIZE(p->topo.raw) - 1); in x86_cpuid_policy_clear_out_of_range_leaves()
222 memset(p->xstate.raw, 0, sizeof(p->xstate.raw)); in x86_cpuid_policy_clear_out_of_range_leaves()
[all …]
A Dmsr.c41 COPY_MSR(MSR_INTEL_PLATFORM_INFO, p->platform_info.raw); in x86_msr_copy_to_buffer()
42 COPY_MSR(MSR_ARCH_CAPABILITIES, p->arch_caps.raw); in x86_msr_copy_to_buffer()
102 case MSR_INTEL_PLATFORM_INFO: ASSIGN(platform_info.raw); break; in x86_msr_copy_from_buffer()
103 case MSR_ARCH_CAPABILITIES: ASSIGN(arch_caps.raw); break; in x86_msr_copy_from_buffer()
A Dpolicy.c26 if ( ~host->msr->platform_info.raw & guest->msr->platform_info.raw ) in x86_cpu_policies_are_compatible()
/xen/xen/arch/x86/
A Dcpuid.c237 p->basic.raw[0x8] = EMPTY_LEAF; in recalculate_misc()
240 memset(p->topo.raw, 0, sizeof(p->topo.raw)); in recalculate_misc()
242 p->basic.raw[0xc] = EMPTY_LEAF; in recalculate_misc()
247 p->extd.raw[0x7].a = p->extd.raw[0x7].b = p->extd.raw[0x7].c = 0; in recalculate_misc()
249 p->extd.raw[0x8].d = 0; in recalculate_misc()
262 p->extd.raw[0x1].a = p->extd.raw[0x1].b = 0; in recalculate_misc()
264 p->extd.raw[0x5] = EMPTY_LEAF; in recalculate_misc()
265 p->extd.raw[0x6].a = p->extd.raw[0x6].b = p->extd.raw[0x6].d = 0; in recalculate_misc()
268 p->extd.raw[0x8].c = 0; in recalculate_misc()
274 memset(p->cache.raw, 0, sizeof(p->cache.raw)); in recalculate_misc()
[all …]
A Dio_apic.c274 __ioapic_write_entry(apic, pin, raw, e); in ioapic_write_entry()
385 bool raw) in restore_IO_APIC_setup() argument
1129 reg_00.raw = io_apic_read(apic, 0); in __print_IO_APIC()
1130 reg_01.raw = io_apic_read(apic, 1); in __print_IO_APIC()
1176 if (reg_01.bits.version >= 0x10 && reg_02.raw != reg_01.raw) { in __print_IO_APIC()
1188 if (reg_01.bits.version >= 0x20 && reg_03.raw != reg_02.raw && in __print_IO_APIC()
1189 reg_03.raw != reg_01.raw) { in __print_IO_APIC()
2121 reg_00.raw = io_apic_read(ioapic, 0); in io_apic_get_unique_id()
2180 reg_01.raw = io_apic_read(ioapic, 1); in io_apic_get_version()
2530 if ( reg_00.raw == -1 && reg_01.raw == -1 && reg_02.raw == -1 ) in bad_ioapic_register()
[all …]
A Dmsr.c144 mp->arch_caps.raw = val & in init_domain_msr_policy()
240 *val = msrs->spec_ctrl.raw; in guest_rdmsr()
244 *val = mp->platform_info.raw; in guest_rdmsr()
250 *val = mp->arch_caps.raw; in guest_rdmsr()
254 *val = msrs->misc_features_enables.raw; in guest_rdmsr()
293 *val = msrs->xss.raw; in guest_rdmsr()
451 msrs->spec_ctrl.raw = val; in guest_wrmsr()
487 msrs->misc_features_enables.raw = val; in guest_wrmsr()
531 msrs->xss.raw = val; in guest_wrmsr()
A Dextable.c120 *(unsigned long *)regs->rsp = token.raw; in search_exception_table()
157 union stub_exception_token res = { .raw = ~0 }; in stub_selftest()
174 if ( res.raw != tests[i].res.raw ) in stub_selftest()
A De820.c505 static void __init machine_specific_memory_setup(struct e820map *raw) in machine_specific_memory_setup() argument
511 sanitize_e820_map(raw->map, &raw->nr_map); in machine_specific_memory_setup()
512 copy_e820_map(raw->map, raw->nr_map); in machine_specific_memory_setup()
685 unsigned long __init init_e820(const char *str, struct e820map *raw) in init_e820() argument
690 print_e820_memory_map(raw->map, raw->nr_map); in init_e820()
693 machine_specific_memory_setup(raw); in init_e820()
/xen/tools/tests/cpu-policy/
A Dtest-cpu-policy.c428 .feat.raw[0].a = 0xc2, in test_cpuid_out_of_range_clearing()
429 .topo.raw[0].a = 0xc2, in test_cpuid_out_of_range_clearing()
443 .feat.raw[0].a = 0xc2, in test_cpuid_out_of_range_clearing()
444 .topo.raw[0].a = 0xc2, in test_cpuid_out_of_range_clearing()
455 .feat.raw[0].b = 0xc2, in test_cpuid_out_of_range_clearing()
457 .feat.raw[1].b = 0xc2, in test_cpuid_out_of_range_clearing()
458 .topo.raw[0].a = 0xc2, in test_cpuid_out_of_range_clearing()
471 .topo.raw[1].b = 0xc2, in test_cpuid_out_of_range_clearing()
482 .xstate.raw[0].a = 1, in test_cpuid_out_of_range_clearing()
496 .xstate.raw[0].a = 2, in test_cpuid_out_of_range_clearing()
[all …]
/xen/xen/include/asm-x86/x86_64/
A Dsystem.h21 __uint128_t raw; in __cmpxchg16b() member
22 } new = { .raw = *newp }, old = { .raw = *oldp }, prev; in __cmpxchg16b()
32 return prev.raw; in __cmpxchg16b()
40 __uint128_t raw; in cmpxchg16b_local_() member
41 } new = { .raw = *newp }, old = { .raw = *oldp }, prev; in cmpxchg16b_local_()
51 return prev.raw; in cmpxchg16b_local_()
/xen/xen/include/asm-x86/
A Dio_apic.h36 uint32_t raw; member
47 uint32_t raw; member
58 uint32_t raw; member
67 uint32_t raw; member
191 unsigned int apic, unsigned int pin, bool raw);
193 unsigned int apic, unsigned int pin, bool raw,
201 bool raw);
/xen/tools/libxl/
A Dcheck-xl-disk-parse63 one 0 /dev/vg/guest-volume,raw,hda,rw
65 one 0 format=raw vdev=hda access=rw target=/dev/vg/guest-volume
66 one 0 raw:/dev/vg/guest-volume,hda,w
80 one 0 /root/image.iso,raw,hdc,devtype=cdrom
82 one 0 format=raw vdev=hdc access=ro devtype=cdrom target=/root/image.iso
83 one 0 raw:/root/image.iso,hdc:cdrom,ro
165 one 0 discard vdev=hda target=/some/disk/image.raw
166 one 0 discard vdev=hda target=/some/disk/image.raw
/xen/xen/arch/x86/guest/hyperv/
A Dhyperv.c47 return id.raw; in generate_guest_id()
103 rdmsrl(HV_X64_MSR_GUEST_OS_ID, guest_id.raw); in setup_hypercall_page()
104 if ( !guest_id.raw ) in setup_hypercall_page()
106 guest_id.raw = generate_guest_id(); in setup_hypercall_page()
107 wrmsrl(HV_X64_MSR_GUEST_OS_ID, guest_id.raw); in setup_hypercall_page()
170 rdmsrl(HV_X64_MSR_VP_ASSIST_PAGE, msr.raw); in setup_vp_assist()
173 wrmsrl(HV_X64_MSR_VP_ASSIST_PAGE, msr.raw); in setup_vp_assist()
/xen/xen/tools/
A Dgen-cpuid.py23 self.raw = {
90 state.raw[a].add(val)
133 state.pv_def = state.raw['A']
134 state.hvm_shadow_def = state.pv_def | state.raw['S']
135 state.hvm_hap_def = state.hvm_shadow_def | state.raw['H']
137 state.pv_max = state.raw['A'] | state.raw['a']
138 state.hvm_shadow_max = state.pv_max | state.raw['S'] | state.raw['s']
139 state.hvm_hap_max = state.hvm_shadow_max | state.raw['H'] | state.raw['h']
385 format_uint32s(state, state.raw['!'], 4),
/xen/xen/arch/x86/hvm/viridian/
A Dviridian.c139 if ( vd->guest_os_id.raw == 0 ) in cpuid_viridian_leaves()
288 vd->guest_os_id.raw = val; in guest_wrmsr_viridian()
293 vd->hypercall_gpa.raw = val; in guest_wrmsr_viridian()
373 *val = vd->guest_os_id.raw; in guest_rdmsr_viridian()
377 *val = vd->hypercall_gpa.raw; in guest_rdmsr_viridian()
530 uint64_t raw; in viridian_hypercall() member
543 uint64_t raw; in viridian_hypercall() member
557 input.raw = regs->rcx; in viridian_hypercall()
699 regs->rax = output.raw; in viridian_hypercall()
702 regs->rdx = output.raw >> 32; in viridian_hypercall()
[all …]
A Dsynic.c102 vv->vp_assist.msr.raw = val; in viridian_synic_wrmsr()
130 vv->simp.msr.raw = val; in viridian_synic_wrmsr()
211 *val = vv->vp_assist.msr.raw; in viridian_synic_rdmsr()
246 *val = vv->simp.msr.raw; in viridian_synic_rdmsr()
406 ctxt->simp_msr = vv->simp.msr.raw; in viridian_synic_save_vcpu_ctxt()
409 ctxt->vp_assist_msr = vv->vp_assist.msr.raw; in viridian_synic_save_vcpu_ctxt()
419 vv->vp_assist.msr.raw = ctxt->vp_assist_msr; in viridian_synic_load_vcpu_ctxt()
425 vv->simp.msr.raw = ctxt->simp_msr; in viridian_synic_load_vcpu_ctxt()
/xen/xen/drivers/passthrough/amd/
A Diommu_intr.c27 uint32_t raw; member
42 uint64_t raw[2]; member
189 ACCESS_ONCE(entry.ptr128->raw[0]) = 0; in free_intremap_entry()
199 entry.ptr128->raw[1] = 0; in free_intremap_entry()
202 ACCESS_ONCE(entry.ptr32->raw) = 0; in free_intremap_entry()
226 entry.ptr128->raw[1] = irte.raw[1]; in update_intremap_entry()
232 ACCESS_ONCE(entry.ptr128->raw[0]) = irte.raw[0]; in update_intremap_entry()
246 ACCESS_ONCE(entry.ptr32->raw) = irte.raw; in update_intremap_entry()
860 ? !tbl.ptr128[count].raw[0] && !tbl.ptr128[count].raw[1] in dump_intremap_table()
861 : !tbl.ptr32[count].raw ) in dump_intremap_table()
[all …]
A Diommu_map.c44 write_atomic(&pte->raw, 0); in clear_iommu_pte_present()
71 old.raw = read_atomic(&pte->raw); in set_iommu_pde_present()
76 if ( old.pr && old.raw != new.raw ) in set_iommu_pde_present()
79 write_atomic(&pte->raw, new.raw); in set_iommu_pde_present()
A Diommu_detect.c65 iommu->features.raw = 0; in get_iommu_features()
69 iommu->features.raw = in get_iommu_features()
74 if ( iommu != first && iommu->features.raw == first->features.raw ) in get_iommu_features()
A Diommu-defs.h296 uint64_t raw; member
367 uint64_t raw; member
421 uint64_t raw; member
455 uint64_t raw; member
/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()
39 cp->basic.raw[0xb] = EMPTY_LEAF; in check_cpuid()
40 cp->basic.raw[0xd] = EMPTY_LEAF; in check_cpuid()
/xen/docs/hypervisor-guide/
A Dcode-coverage.rst37 Accessing the raw coverage data
44 The ``read`` subcommand can be used to obtain the raw coverage data::
61 object file. The raw coverage data needs splitting to form the matching
67 * Obtain the raw coverage data from the test host, and pull it back to the
71 * Use ``geninfo`` to post-process the raw data.
88 * Obtain the raw coverage data from the test host, and pull it back to the
90 * Use ``llvm-profdata`` to post-process the raw data.
/xen/xen/arch/x86/hvm/svm/
A Dsvmdebug.c56 vmcb->int_stat.raw); in svm_vmcb_dump()
58 vmcb->event_inj.raw, vmcb->event_inj.v, in svm_vmcb_dump()
62 vmcb->exitcode, vmcb->exit_int_info.raw); in svm_vmcb_dump()
86 vmcb_get_h_cr3(vmcb), vmcb->cleanbits.raw); in svm_vmcb_dump()
169 vmcb->event_inj.raw); in svm_vmcb_isvalid()
/xen/xen/include/xen/lib/x86/
A Dmsr.h20 uint32_t raw; member
35 uint32_t raw; member
A Dcpuid.h112 struct cpuid_leaf raw[CPUID_GUEST_NR_BASIC]; member
155 struct cpuid_leaf raw[CPUID_GUEST_NR_CACHE]; member
168 struct cpuid_leaf raw[CPUID_GUEST_NR_FEAT]; member
195 struct cpuid_leaf raw[CPUID_GUEST_NR_TOPO]; member
206 struct cpuid_leaf raw[CPUID_GUEST_NR_XSTATE]; member
230 struct cpuid_leaf raw[CPUID_GUEST_NR_EXTD]; member

Completed in 37 milliseconds

1234