Update CpuS3DataDxe and PiSmmCpuDxeSmm to consume PcdAcpiS3Enable. If this PCD is disabled, then skip the S3 related logic in modules. Also update PiSmmCpuDxeSmm to move S3 related code to CpuS3.c.
Star Zeng (3): UefiCpuPkg/CpuS3DataDxe: Consume PcdAcpiS3Enable to control the code UefiCpuPkg/PiSmmCpuDxeSmm: Move S3 related code to CpuS3.c UefiCpuPkg/PiSmmCpuDxeSmm: Consume PcdAcpiS3Enable to control the code UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c | 5 + UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf | 2 + UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 381 +++++++++++++++++++++++++++ UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 324 +---------------------- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 70 +++-- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 1 + 6 files changed, 442 insertions(+), 341 deletions(-) -- 2.6.3.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel