]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Include/AcpiCpuData.h
UefiCpuPkg/Feature: Support different thread count per core
[mirror_edk2.git] / UefiCpuPkg / Include / AcpiCpuData.h
index 77da5d44553ff9d1a6a78d78c33dcad2c9d69dfb..b5a69ad80c886603f3e2ffeae6232f1a96d1bf37 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 Definitions for CPU S3 data.\r
 \r
-Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2013 - 2020, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -60,14 +60,24 @@ typedef struct {
   UINT32                      MaxThreadCount;\r
   //\r
   // This field points to an array.\r
-  // This array saves valid core count (type UINT32) of each package.\r
+  // This array saves thread count (type UINT32) of each package.\r
   // The array has PackageCount elements.\r
   //\r
   // If the platform does not support MSR setting at S3 resume, and\r
   // therefore it doesn't need the dependency semaphores, it should set\r
   // this field to 0.\r
   //\r
-  EFI_PHYSICAL_ADDRESS        ValidCoreCountPerPackage;\r
+  EFI_PHYSICAL_ADDRESS        ThreadCountPerPackage;\r
+  //\r
+  // This field points to an array.\r
+  // This array saves thread count (type UINT8) of each core.\r
+  // The array has PackageCount * MaxCoreCount elements.\r
+  //\r
+  // If the platform does not support MSR setting at S3 resume, and\r
+  // therefore it doesn't need the dependency semaphores, it should set\r
+  // this field to 0.\r
+  //\r
+  EFI_PHYSICAL_ADDRESS        ThreadCountPerCore;\r
 } CPU_STATUS_INFORMATION;\r
 \r
 //\r