cleanup
This commit is contained in:
parent
5ffb201184
commit
1068b4bd8c
@ -57,8 +57,6 @@ private:
|
|||||||
void get_std_cpuid_leaf_4(Bit32u subfunction, cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_4(Bit32u subfunction, cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_5(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_5(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_6(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_6(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_7(Bit32u subfunction, cpuid_function_t *leaf) const;
|
|
||||||
void get_std_cpuid_leaf_8(cpuid_function_t *leaf) const;
|
|
||||||
void get_std_cpuid_leaf_9(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_9(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_A(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_A(cpuid_function_t *leaf) const;
|
||||||
|
|
||||||
|
@ -57,8 +57,6 @@ private:
|
|||||||
void get_std_cpuid_leaf_4(Bit32u subfunction, cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_4(Bit32u subfunction, cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_5(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_5(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_6(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_6(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_7(Bit32u subfunction, cpuid_function_t *leaf) const;
|
|
||||||
void get_std_cpuid_leaf_8(cpuid_function_t *leaf) const;
|
|
||||||
void get_std_cpuid_leaf_9(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_9(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_A(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_A(cpuid_function_t *leaf) const;
|
||||||
|
|
||||||
|
@ -57,8 +57,6 @@ private:
|
|||||||
void get_std_cpuid_leaf_4(Bit32u subfunction, cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_4(Bit32u subfunction, cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_5(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_5(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_6(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_6(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_7(Bit32u subfunction, cpuid_function_t *leaf) const;
|
|
||||||
void get_std_cpuid_leaf_8(cpuid_function_t *leaf) const;
|
|
||||||
void get_std_cpuid_leaf_9(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_9(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_A(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_A(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_extended_topology_leaf(Bit32u subfunction, cpuid_function_t *leaf) const;
|
void get_std_cpuid_extended_topology_leaf(Bit32u subfunction, cpuid_function_t *leaf) const;
|
||||||
|
@ -102,7 +102,7 @@ void bx_generic_cpuid_t::get_cpuid_leaf(Bit32u function, Bit32u subfunction, cpu
|
|||||||
get_std_cpuid_leaf_7(subfunction, leaf);
|
get_std_cpuid_leaf_7(subfunction, leaf);
|
||||||
return;
|
return;
|
||||||
case 0x00000008:
|
case 0x00000008:
|
||||||
get_std_cpuid_leaf_8(leaf);
|
get_reserved_leaf(leaf);
|
||||||
return;
|
return;
|
||||||
case 0x00000009:
|
case 0x00000009:
|
||||||
get_std_cpuid_leaf_9(leaf);
|
get_std_cpuid_leaf_9(leaf);
|
||||||
@ -299,15 +299,7 @@ void bx_generic_cpuid_t::get_std_cpuid_leaf_7(Bit32u subfunction, cpuid_function
|
|||||||
leaf->eax = 0; /* leaf 7 not supported */
|
leaf->eax = 0; /* leaf 7 not supported */
|
||||||
}
|
}
|
||||||
|
|
||||||
// leaf 0x00000008 //
|
// leaf 0x00000008 - reserved //
|
||||||
void bx_generic_cpuid_t::get_std_cpuid_leaf_8(cpuid_function_t *leaf) const
|
|
||||||
{
|
|
||||||
// CPUID function 0x00000008 - reserved
|
|
||||||
leaf->eax = 0;
|
|
||||||
leaf->ebx = 0;
|
|
||||||
leaf->ecx = 0;
|
|
||||||
leaf->edx = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// leaf 0x00000009 //
|
// leaf 0x00000009 //
|
||||||
void bx_generic_cpuid_t::get_std_cpuid_leaf_9(cpuid_function_t *leaf) const
|
void bx_generic_cpuid_t::get_std_cpuid_leaf_9(cpuid_function_t *leaf) const
|
||||||
|
@ -65,7 +65,6 @@ private:
|
|||||||
void get_std_cpuid_leaf_5(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_5(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_6(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_6(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_7(Bit32u subfunction, cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_7(Bit32u subfunction, cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_8(cpuid_function_t *leaf) const;
|
|
||||||
void get_std_cpuid_leaf_9(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_9(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_leaf_A(cpuid_function_t *leaf) const;
|
void get_std_cpuid_leaf_A(cpuid_function_t *leaf) const;
|
||||||
void get_std_cpuid_extended_topology_leaf(Bit32u subfunction, cpuid_function_t *leaf) const;
|
void get_std_cpuid_extended_topology_leaf(Bit32u subfunction, cpuid_function_t *leaf) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user