]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
UefiCpuPkg/CpuS3DataDxe: Consume PcdAcpiS3Enable to control the code
authorStar Zeng <star.zeng@intel.com>
Mon, 18 Jul 2016 03:31:28 +0000 (11:31 +0800)
committerMichael Kinney <michael.d.kinney@intel.com>
Thu, 1 Sep 2016 15:18:59 +0000 (08:18 -0700)
commitca98f60382943d4b40a8e60125120edc4d69f212
tree5a0c14a1985a46680c4d4b28bb81a1c4669ceb0d
parent5322ee484b54bc78023383a546971b601dcc4ce1
UefiCpuPkg/CpuS3DataDxe: Consume PcdAcpiS3Enable to control the code

If PcdAcpiS3Enable is disabled, then return an EFI_UNSUPPORTED
error which forces the module to be unloaded.

Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf