audk/MdeModulePkg
Star Zeng bd890a737b MdeModulePkg S3SaveStateDxe: Move S3Ready() functional code from AcpiS3SaveDxe
The S3Ready() functional code in AcpiS3SaveDxe of IntelFrameworkModulePkg
is to do ACPI S3 Context save. In fact, that is not really related to
Intel framework ACPI S3 protocol.

IntelFrameworkModulePkg will be deprecated step by step, so move the
functional code to MdeModulePkg and S3SaveStateDxe is a good place.
The ACPI global variable related code is leaved as is in IntelFrameworkModulePkg
AcpiS3SaveDxe for compatibility.
PcdS3BootScriptStackSize is also moved from IntelFrameworkModulePkg.

The functional code need to get ACPI FACS table and consume LockBoxLib,
so need to be before DxeSmmReadyToLock that will shut down SMM lock box
interface, EndOfDxe is a good point (OVMF AcpiS3SaveDxe has the reference
implementation).

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
2016-04-07 17:32:03 +02:00
..
Application MdeModulePkg/UiApp: Correct the total RAM calculation 2016-04-05 11:18:08 +08:00
Bus MdeModulePkg EmmcDxe: Fix GCC build failure with set but unused variables 2016-03-31 10:44:21 +08:00
Core MdeModulePkg DxeCore: Address boundary check for Type AllocateAddress 2016-03-22 11:00:40 +08:00
Include MdeModulePkg/SdMmc: Add EDKII SD/MMC stack 2016-03-30 11:27:41 +08:00
Library MdeModulePkg/Bds: Fix build failures of VS tool chain 2016-04-07 11:23:07 +08:00
Logo MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Universal MdeModulePkg S3SaveStateDxe: Move S3Ready() functional code from AcpiS3SaveDxe 2016-04-07 17:32:03 +02:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg S3SaveStateDxe: Move S3Ready() functional code from AcpiS3SaveDxe 2016-04-07 17:32:03 +02:00
MdeModulePkg.dsc MdeModulePkg/SdMmc: Add EDKII SD/MMC stack 2016-03-30 11:27:41 +08:00
MdeModulePkg.uni MdeModulePkg S3SaveStateDxe: Move S3Ready() functional code from AcpiS3SaveDxe 2016-04-07 17:32:03 +02:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00