]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/S3Resume2Pei: Handle Communicate Ppi not exist issue.
authorEric Dong <eric.dong@intel.com>
Thu, 12 Oct 2017 08:31:58 +0000 (16:31 +0800)
committerEric Dong <eric.dong@intel.com>
Fri, 13 Oct 2017 05:12:00 +0000 (13:12 +0800)
commit152e8d7670d5e6d2f9e5ca936eaf1568a7a53c4d
treef15fa285afa16a696081ffa1227038f7d4f9beee
parentd76c2da8d50d29a1f38e01ce896ddfce47890c09
UefiCpuPkg/S3Resume2Pei: Handle Communicate Ppi not exist issue.

Current code assume Communicate Ppi always existed, so it adds
ASSERT to confirm it. Ovmf platform happened not has this Ppi, so
the ASSERT been trig. This patch handle Ppi not existed case.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c