mirror_edk2/IntelFrameworkModulePkg
Laszlo Ersek e50c79f7d5 IntelFrameworkModulePkg: AcpiS3SaveDxe: call S3Ready() at End-of-Dxe
Call S3Ready() whenever the first of the following occurs:
- a driver signals End-of-Dxe,
- a driver calls EFI_ACPI_S3_SAVE_PROTOCOL.S3Save().

S3Ready() already contains a static, function scope "latch" that causes it
to exit early when called for the second time or later.

(At the moment, the only platform in the edk2 tree that includes this
driver is Vlv2TbltDevicePkg. That platform does not signal End-of-Dxe
(yet).)

http://thread.gmane.org/gmane.comp.bios.tianocore.devel/16088/focus=16146
Suggested-by: Yao Jiewen <jiewen.yao@intel.com>
Cc: Yao Jiewen <jiewen.yao@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Cc: David Wei <david.wei@intel.com>
Cc: Tim He <tim.he@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17805 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-02 06:36:29 +00:00
..
Bus IntelFrameworkModulePkg IsaFloppyDxe: Use safe string functions 2015-06-30 06:25:29 +00:00
Csm IntelFrameworkModulePkg: Add UEFI2.5 PersistentMemory support in LegacyBios 2015-04-29 01:38:01 +00:00
Include IntelFrameworkModulePkg: Move LzmaDecompress GUID 2015-04-03 02:49:10 +00:00
Library IntelFrameworkModulePkg PeiDxeDebugLib: Use safe string functions 2015-06-30 06:26:20 +00:00
Universal IntelFrameworkModulePkg: AcpiS3SaveDxe: call S3Ready() at End-of-Dxe 2015-07-02 06:36:29 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
IntelFrameworkModulePkg.dec Remove obsolete PCDs (new ones are moved to MdePkg and MdeModulePkg) 2015-05-06 04:51:19 +00:00
IntelFrameworkModulePkg.dsc IntelFrameworkModulePkg: Add LegacyBootManagerLib. 2015-05-06 04:50:23 +00:00
IntelFrameworkModulePkg.uni IntelFrameworkModulePkg: Convert non DOS format files to DOS format 2014-09-03 08:45:37 +00:00
IntelFrameworkModulePkgExtra.uni IntelFrameworkModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 07:03:47 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00