]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib in StandaloneMm
authorKun Qin <kun.q@outlook.com>
Thu, 17 Dec 2020 21:38:50 +0000 (13:38 -0800)
committerKun Qin <kun.q@outlook.com>
Mon, 1 Feb 2021 18:01:03 +0000 (10:01 -0800)
commit5625c1fdf7258888fc26ddebe8353d3e5240701b
tree053caf18d3a81d0e01394757750c89800399e3f8
parente35fce8adadb4141c05d5365abc56e9bd96b9fce
MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib in StandaloneMm

This change added support of StandaloneMm for ReportStatusCodeLib. It
adds a new instance of ReportStatusCodeLib for MM_STANDALONE type, and
abstracts the references of gMmst and gSmst functionalities into separate
files in order to link in proper Service Table for SMM core/drivers.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Kun Qin <kun.q@outlook.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c
MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h [new file with mode: 0644]
MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibStandaloneMm.c [new file with mode: 0644]
MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTraditional.c [new file with mode: 0644]
MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
MdeModulePkg/Library/SmmReportStatusCodeLib/StandaloneMmReportStatusCodeLib.inf [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dsc