]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/PiSmmCore/PiSmmCore.h
MdeModulePkg/PiSmmCore: Install Protocol when S3 resume finished.
authorEric Dong <eric.dong@intel.com>
Wed, 11 Oct 2017 01:29:52 +0000 (09:29 +0800)
committerEric Dong <eric.dong@intel.com>
Thu, 12 Oct 2017 02:17:56 +0000 (10:17 +0800)
commitd76c2da8d50d29a1f38e01ce896ddfce47890c09
tree41e03167848b6516956a409886ccf8635a006242
parent18b13fabfa042a48c87a23dcf10f235b2fbdb884
MdeModulePkg/PiSmmCore: Install Protocol when S3 resume finished.

Install EdkiiSmmEndOfS3ResumeProtocol when S3 resume finished.
S3ResumePei will send S3 resume finished event to SmmCore through
communication buffer.

V2 change:
 None.

V3 change:
1. Uninstall the protocol right after install it to avoid run out of memory.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
MdeModulePkg/Core/PiSmmCore/PiSmmCore.h
MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf