From nobody Fri May 10 16:54:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+39731+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39731+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556504652; cv=none; d=zoho.com; s=zohoarc; b=GAIoLi8YnSvbCxkDBOChYsiPQSwij+wvZDLqnp8gt7szw6APBWV6YjzBwVwtRgDBBv7Vv7fKIQ125FU3/2Q9sbTJ1/FctPAPQ2iaiTEldjgyE0xEYSJpnrFnfbpqi7JlVntAehLj0kNDGv8yk+MaDyHDnHtf5v/M7d5JByI8M3g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556504652; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=eMS6OvmijVyGeSEtg206m4CRSbvBrrkKDWZ19SiPg5E=; b=ZNqwtqwq1Ak4NUZUZsCoGTRQZPkW4nxCqeVmL7Fyh/7RSG1h66D2LRwY5R78ymtVNnblhQVmTpgkKoImvZrHnFazDWODSP3YhQrv9geMgoMU6ZHhx7O0XsJgzEowWZzh+gYV1d9qZF9Gx4qi9tZqGhBssQAtrz+KnBi72cNS7Gw= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39731+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1556504652232348.3377114869486; Sun, 28 Apr 2019 19:24:12 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by groups.io with SMTP; Sun, 28 Apr 2019 19:24:10 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Apr 2019 19:24:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,408,1549958400"; d="scan'208";a="153143041" X-Received: from fieedk002.ccr.corp.intel.com ([10.239.157.133]) by FMSMGA003.fm.intel.com with ESMTP; 28 Apr 2019 19:24:09 -0700 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni Subject: [edk2-devel] [PATCH] EmulatorPkg: Change the cpu current speed from 0 to a non-zero value Date: Mon, 29 Apr 2019 10:23:33 +0800 Message-Id: <20190429022333.22740-1-zhiguang.liu@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhiguang.liu@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1556504651; bh=+HXNcIA5eADm06HKTre8EAC9n7xB23EQ8zLVHaECJlY=; h=Cc:Date:From:Reply-To:Subject:To; b=MBukwXivtvvyGrWgr6l0XCHz8Uehz7QaZKHfcnt2fU5Rw/u9TmNtvG59my0wR2+1kij WLXJx3IgdPdCSWbgYDlyRuHvVIhkzcHAKjIvsrViJ1vl9rpIhy571bfj0ncfReSJrO2CW JclePSwJouz26FXpsRm+AuOk8tyMxgHonzI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D1686 Signed-off-by: Zhiguang Liu Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni --- EmulatorPkg/CpuRuntimeDxe/Cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmulatorPkg/CpuRuntimeDxe/Cpu.c b/EmulatorPkg/CpuRuntimeDxe/Cp= u.c index e997b39f41..3093a7b642 100644 --- a/EmulatorPkg/CpuRuntimeDxe/Cpu.c +++ b/EmulatorPkg/CpuRuntimeDxe/Cpu.c @@ -238,7 +238,7 @@ CpuUpdateSmbios ( mCpuSmbiosType4.CoreCount =3D (UINT8) MaxCpus; mCpuSmbiosType4.EnabledCoreCount =3D (UINT8) MaxCpus; mCpuSmbiosType4.ThreadCount =3D (UINT8) MaxCpus; - + mCpuSmbiosType4.CurrentSpeed =3D 1234; LogSmbiosData ((EFI_SMBIOS_TABLE_HEADER *)&mCpuSmbiosType4, mCpuSmbiosTy= pe4Strings); } =20 --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39731): https://edk2.groups.io/g/devel/message/39731 Mute This Topic: https://groups.io/mt/31379041/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-