public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 3/3] EmulatorPkg/Cpu.c:Add PROCESSOR_CHARACTERISTIC_FLAGS struct information
       [not found] <cover.1603954985.git.zhuyanming@byosoft.com.cn>
@ 2020-10-29  7:03 ` Yanming Zhu
  0 siblings, 0 replies; only message in thread
From: Yanming Zhu @ 2020-10-29  7:03 UTC (permalink / raw)
  To: devel; +Cc: Jordan Justen, Andrew Fish, Ray Ni, Liming Gao

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 <jordan.l.justen@intel.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Yanming Zhu <zhuyanming@byosoft.com.cn>
---
 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-29  7:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cover.1603954985.git.zhuyanming@byosoft.com.cn>
2020-10-29  7:03 ` [PATCH 3/3] EmulatorPkg/Cpu.c:Add PROCESSOR_CHARACTERISTIC_FLAGS struct information Yanming Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox