parent
4b0c9a711f
commit
c2891e5ff6
@ -87,8 +87,8 @@ BX_CPP_INLINE static Bit32u ilog2(Bit32u x)
|
|||||||
void bx_cpuid_t::get_std_cpuid_extended_topology_leaf(Bit32u subfunction, cpuid_function_t *leaf) const
|
void bx_cpuid_t::get_std_cpuid_extended_topology_leaf(Bit32u subfunction, cpuid_function_t *leaf) const
|
||||||
{
|
{
|
||||||
// CPUID function 0x0000000B - Extended Topology Leaf
|
// CPUID function 0x0000000B - Extended Topology Leaf
|
||||||
leaf->eax = (subfunction == 0);
|
leaf->eax = 0;
|
||||||
leaf->ebx = (subfunction == 0); // number of logical CPUs at this level
|
leaf->ebx = 0;
|
||||||
leaf->ecx = subfunction;
|
leaf->ecx = subfunction;
|
||||||
leaf->edx = cpu->get_apic_id();
|
leaf->edx = cpu->get_apic_id();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user