generic cpuid fix dump_cpuid

This commit is contained in:
Stanislav Shwartsman 2023-12-29 21:53:15 +02:00
parent 75a7151fbf
commit 07d28c60b8

View File

@ -1065,7 +1065,7 @@ Bit32u bx_generic_cpuid_t::get_ext2_cpuid_features(void) const
void bx_generic_cpuid_t::dump_cpuid(void) const
{
bx_cpuid_t::dump_cpuid(max_std_leaf, (max_ext_leaf > 0x80000000) ? (max_ext_leaf-0x80000000) : 0);
bx_cpuid_t::dump_cpuid(max_std_leaf, max_ext_leaf);
}
bx_cpuid_t *create_bx_generic_cpuid(BX_CPU_C *cpu) { return new bx_generic_cpuid_t(cpu); }