]> git.proxmox.com Git - mirror_edk2.git/commit
UefiPayloadPkg: Add bootloader SMM support module
authorGuo Dong <guo.dong@intel.com>
Wed, 22 Sep 2021 21:27:21 +0000 (14:27 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 25 Oct 2021 17:28:21 +0000 (17:28 +0000)
commitbed990aae6b68b7fcadedb81075ae9619e12c1e6
tree557bedc1e6d7e51077db1cfb364f45e3b99c5f72
parente7e8ea27d4d8790e76c26fa150e85b3277a72fd5
UefiPayloadPkg: Add bootloader SMM support module

This module is only used for SMM S3 support for the bootloader that
doesn't support SMM.
The payload would save SMM rebase info to SMM communication area in
normal boot and expect the bootloader in S3 path to rebase the SMM
and trigger SMI by writing 0xB2 port with the given value from SMM
communication area. The payload SMM handler would get chance to
restore some registers in S3 path.

Signed-off-by: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Benjamin You <benjamin.you@intel.com>
UefiPayloadPkg/BlSupportSmm/BlSupportSmm.c [new file with mode: 0644]
UefiPayloadPkg/BlSupportSmm/BlSupportSmm.h [new file with mode: 0644]
UefiPayloadPkg/BlSupportSmm/BlSupportSmm.inf [new file with mode: 0644]
UefiPayloadPkg/Include/Guid/SmmS3CommunicationInfoGuid.h [new file with mode: 0644]
UefiPayloadPkg/UefiPayloadPkg.dec