From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: zhiguang.liu@intel.com) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by groups.io with SMTP; Tue, 11 Jun 2019 00:33:43 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2019 00:33:42 -0700 X-ExtLoop1: 1 Received: from fieedk002.ccr.corp.intel.com ([10.239.157.133]) by fmsmga008.fm.intel.com with ESMTP; 11 Jun 2019 00:33:41 -0700 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni Subject: [Patch V3] EmulatorPkg: don't display the cpu current speed Date: Tue, 11 Jun 2019 15:32:27 +0800 Message-Id: <20190611073227.25892-1-zhiguang.liu@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1686 V3: I hope that changing the status of the mCpuSmbiosType4 wouldn't affect other features except showing CPU speed. The value is zero in NT32Pkg. Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Zhiguang Liu --- EmulatorPkg/CpuRuntimeDxe/Cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmulatorPkg/CpuRuntimeDxe/Cpu.c b/EmulatorPkg/CpuRuntimeDxe/Cpu.c index 00e93016af..a5e19b4181 100644 --- a/EmulatorPkg/CpuRuntimeDxe/Cpu.c +++ b/EmulatorPkg/CpuRuntimeDxe/Cpu.c @@ -104,7 +104,7 @@ SMBIOS_TABLE_TYPE4 mCpuSmbiosType4 = { 0, // ExternalClock; 0, // MaxSpeed; 0, // CurrentSpeed; - 0x41, // Status; + 0, // Status; ProcessorUpgradeOther, // ProcessorUpgrade; ///< The enumeration value from PROCESSOR_UPGRADE. 0, // L1CacheHandle; 0, // L2CacheHandle; -- 2.21.0.windows.1