]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg: Refactor initialization of CPU features during S3 resume
authorLou, Yun <Yun.Lou@intel.com>
Thu, 16 Sep 2021 09:27:11 +0000 (17:27 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 16 Sep 2021 12:50:06 +0000 (12:50 +0000)
commit010753b7e7cfb5ba2d1acd2200343cc4f55d7962
treeccb736ad954fce9066d6216b0290c16a2b61b358
parentbda3546c55e807c5d10ca9ecb5c664c184144c98
UefiCpuPkg: Refactor initialization of CPU features during S3 resume

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3621
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3631

Refactor initialization of CPU features during S3 resume.

In addition, the macro ACPI_CPU_DATA_STRUCTURE_UPDATE is used to fix
incompatibility issue caused by ACPI_CPU_DATA structure update. It will
be removed after all the platform code uses new ACPI_CPU_DATA structure.

Signed-off-by: Jason Lou <yun.lou@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
OvmfPkg/CpuS3DataDxe/CpuS3Data.c
UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c
UefiCpuPkg/Include/AcpiCpuData.h
UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c
UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c
UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c