]> git.proxmox.com Git - mirror_edk2.git/commit
UefiPayloadPkg: Add a SMM dispatch module
authorGuo Dong <guo.dong@intel.com>
Wed, 22 Sep 2021 21:45:55 +0000 (14:45 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 25 Oct 2021 17:28:21 +0000 (17:28 +0000)
commit242dcfe30f6f49d164c5961ce6fd8cc1328c658a
tree98377ceb425b1a4e1300dff03d1f67de77eba82b
parentae8acce8ae515545f6b206561e0ebf2a66a1d8f6
UefiPayloadPkg: Add a SMM dispatch module

PCH SMM module would install SMM SW dispatch2 protocol.
And it supports to register SMI handlers based on SMI APM
interrupt from the bootloader information gSmmRegisterInfoGuid.
It is possible to extend bootloader HOB to pass other information
to support more SMI sources.
If this module is not required by bootloader for some reason, the
bootloader could skip this HOB or build a HOB without EOS info.

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/PchSmiDispatchSmm/PchSmiDispatchSmm.c [new file with mode: 0644]
UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.h [new file with mode: 0644]
UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf [new file with mode: 0644]