mirror of https://github.com/acidanthera/audk.git
EmulatorPkg: Change the cpu frequency to a non-zero value
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1686 The valuse of 1234 is a fake value for CPU frequency. Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Andrew Fish <afish@apple.com> Cc: Ray Ni <ray.ni@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
parent
8522ce2c9f
commit
ad9df93770
|
@ -238,7 +238,10 @@ CpuUpdateSmbios (
|
||||||
mCpuSmbiosType4.CoreCount = (UINT8) MaxCpus;
|
mCpuSmbiosType4.CoreCount = (UINT8) MaxCpus;
|
||||||
mCpuSmbiosType4.EnabledCoreCount = (UINT8) MaxCpus;
|
mCpuSmbiosType4.EnabledCoreCount = (UINT8) MaxCpus;
|
||||||
mCpuSmbiosType4.ThreadCount = (UINT8) MaxCpus;
|
mCpuSmbiosType4.ThreadCount = (UINT8) MaxCpus;
|
||||||
|
//
|
||||||
|
// The value of 1234 is fake value for CPU frequency
|
||||||
|
//
|
||||||
|
mCpuSmbiosType4.CurrentSpeed = 1234;
|
||||||
LogSmbiosData ((EFI_SMBIOS_TABLE_HEADER *)&mCpuSmbiosType4, mCpuSmbiosType4Strings);
|
LogSmbiosData ((EFI_SMBIOS_TABLE_HEADER *)&mCpuSmbiosType4, mCpuSmbiosType4Strings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue