From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web12.5065.1603955028397068160 for ; Thu, 29 Oct 2020 00:03:49 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: zhuyanming@byosoft.com.cn) Received: from localhost.localdomain ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 29 Oct 2020 15:03:35 +0800 X-WM-Sender: zhuyanming@byosoft.com.cn From: "Yanming Zhu" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni , Liming Gao Subject: [PATCH 3/3] EmulatorPkg/Cpu.c:Add PROCESSOR_CHARACTERISTIC_FLAGS struct information Date: Thu, 29 Oct 2020 15:03:34 +0800 Message-Id: <91fee9b929654e7ecbc9388adc24642211f8b96b.1603954985.git.zhuyanming@byosoft.com.cn> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2952 Add PROCESSOR_CHARACTERISTIC_FLAGS struct information in SMBIOS_TABLE_TYPE4 mCpuSmbiosType4 parameter Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Reviewed-by: Liming Gao Signed-off-by: Yanming Zhu --- EmulatorPkg/CpuRuntimeDxe/Cpu.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/EmulatorPkg/CpuRuntimeDxe/Cpu.c b/EmulatorPkg/CpuRuntimeDxe/Cpu.c index 00e93016af..8067ea7087 100644 --- a/EmulatorPkg/CpuRuntimeDxe/Cpu.c +++ b/EmulatorPkg/CpuRuntimeDxe/Cpu.c @@ -90,6 +90,19 @@ SMBIOS_TABLE_TYPE4 mCpuSmbiosType4 = { 0, // ProcessorReserved3 :1; 0, // ProcessorTm :1; 0, // ProcessorReserved4 :2; + }, + { + // PROCESSOR_CHARACTERISTIC_FLAGS + 0, // ProcessorReserved1 :1; + 0, // ProcessorUnknown :1; + 0, // Processor64BitCapble :1; + 0, // ProcessorMultiCore :1; + 0, // ProcessorHardwareThread :1; + 0, // ProcessorExecuteProtection :1; + 0, // ProcessorEnhancedVirtulization :1; + 0, // ProcessorPowerPerformanceCtrl :1; + 0, // Processor128bitCapble :1; + 0, // ProcessorReserved2 :7; } }, 3, // ProcessorVersion String; -- 2.28.0.windows.1