Searched refs:max_leaf (Results 1 – 6 of 6) sorted by relevance
/xen/tools/tests/cpu-policy/ |
A D | test-cpu-policy.c | 124 .basic.max_leaf = 4, in test_cpuid_serialise_success() 131 .basic.max_leaf = 4, in test_cpuid_serialise_success() 141 .basic.max_leaf = 7, in test_cpuid_serialise_success() 148 .basic.max_leaf = 7, in test_cpuid_serialise_success() 158 .basic.max_leaf = 0xb, in test_cpuid_serialise_success() 165 .basic.max_leaf = 0xb, in test_cpuid_serialise_success() 178 .basic.max_leaf = 0xd, in test_cpuid_serialise_success() 423 .basic.max_leaf = 0, in test_cpuid_out_of_range_clearing() 439 .basic.max_leaf = 4, in test_cpuid_out_of_range_clearing() 454 .basic.max_leaf = 7, in test_cpuid_out_of_range_clearing() [all …]
|
/xen/xen/lib/x86/ |
A D | policy.c | 18 if ( guest->cpuid->basic.max_leaf > host->cpuid->basic.max_leaf ) in x86_cpu_policies_are_compatible() 21 if ( guest->cpuid->extd.max_leaf > host->cpuid->extd.max_leaf ) in x86_cpu_policies_are_compatible()
|
A D | cpuid.c | 74 for ( i = 1; i <= MIN(p->basic.max_leaf, in x86_cpuid_policy_fill_native() 87 if ( p->basic.max_leaf >= 4 ) in x86_cpuid_policy_fill_native() 115 if ( p->basic.max_leaf >= 7 ) in x86_cpuid_policy_fill_native() 124 if ( p->basic.max_leaf >= 0xb ) in x86_cpuid_policy_fill_native() 153 if ( p->basic.max_leaf >= 0xd ) in x86_cpuid_policy_fill_native() 175 for ( i = 1; i <= MIN(p->extd.max_leaf & 0xffffU, in x86_cpuid_policy_fill_native() 190 zero_leaves(p->basic.raw, p->basic.max_leaf + 1, in x86_cpuid_policy_clear_out_of_range_leaves() 193 if ( p->basic.max_leaf < 4 ) in x86_cpuid_policy_clear_out_of_range_leaves() 204 if ( p->basic.max_leaf < 7 ) in x86_cpuid_policy_clear_out_of_range_leaves() 210 if ( p->basic.max_leaf < 0xb ) in x86_cpuid_policy_clear_out_of_range_leaves() [all …]
|
/xen/xen/arch/x86/ |
A D | cpuid.c | 314 p->basic.max_leaf = in calculate_host_policy() 315 min_t(uint32_t, p->basic.max_leaf, ARRAY_SIZE(p->basic.raw) - 1); in calculate_host_policy() 318 p->extd.max_leaf = 0x80000000 | min_t(uint32_t, p->extd.max_leaf & 0xffff, in calculate_host_policy() 573 p->basic.max_leaf = min(p->basic.max_leaf, max->basic.max_leaf); in recalculate_cpuid_policy() 575 p->extd.max_leaf = 0x80000000 | min(p->extd.max_leaf & 0xffff, in recalculate_cpuid_policy() 649 if ( p->basic.max_leaf < XSTATE_CPUID ) in recalculate_cpuid_policy() 755 ASSERT(p->basic.max_leaf < ARRAY_SIZE(p->basic.raw)); in guest_cpuid() 756 if ( leaf > min_t(uint32_t, p->basic.max_leaf, in guest_cpuid() 812 ASSERT((p->extd.max_leaf & 0xffff) < ARRAY_SIZE(p->extd.raw)); in guest_cpuid() 813 if ( (leaf & 0xffff) > min_t(uint32_t, p->extd.max_leaf & 0xffff, in guest_cpuid()
|
/xen/xen/include/xen/lib/x86/ |
A D | cpuid.h | 115 uint32_t max_leaf, vendor_ebx, vendor_ecx, vendor_edx; member 233 uint32_t max_leaf, vendor_ebx, vendor_ecx, vendor_edx; member
|
/xen/tools/libxc/ |
A D | xc_cpuid_x86.c | 362 const xen_cpuid_leaf_t *max_leaf = find_leaf(max, nr_max, xend); in xc_cpuid_xend_policy() local 365 if ( cur_leaf == NULL || max_leaf == NULL || host_leaf == NULL ) in xc_cpuid_xend_policy() 374 const uint32_t *max_reg = &max_leaf->a + i; in xc_cpuid_xend_policy()
|
Completed in 11 milliseconds