]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/PiSmmCpuDxeSmm: add message for S3 config error
authorJian J Wang <jian.j.wang@intel.com>
Mon, 10 Sep 2018 03:13:36 +0000 (11:13 +0800)
committerJian J Wang <jian.j.wang@intel.com>
Mon, 17 Sep 2018 02:45:52 +0000 (10:45 +0800)
commita95c9cfd18b691d9694b17f032ffefd1e905cc4a
treec204e3cae5e975b8704f9a1086d43216cfa7f012
parentb06dfd40bb5cf9fdd626a79a300253f193b600ae
UefiCpuPkg/PiSmmCpuDxeSmm: add message for S3 config error

BZ#: https://bugzilla.tianocore.org/show_bug.cgi?id=1165

HOB gEfiAcpiVariableGuid is a must have data for S3 resume if
PcdAcpiS3Enable is set to TRUE. Current code in CpuS3.c doesn't
embody this strong binding between them. An error message and
CpuDeadLoop are added in this patch to warn platform developer
about it.

Cc: Star Zeng <star.zeng@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c