MdeModulePkg: ReportStatusCodeRouter: Support StandaloneMm RSC Router
This change added support of RSC router under StandaloneMm. It replaces SMM version ReportStatusCode protocol definitions with MM version. This patch also switched to use gMmst instead of gSmst. Lastly, it abstracts standalone and traditional MM driver entrypoints into separate files to allow maximal common implementations. 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> Signed-off-by: Kun Qin <kun.q@outlook.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
MODULE_TYPE = DXE_SMM_DRIVER
|
||||
PI_SPECIFICATION_VERSION = 0x0001000A
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = GenericStatusCodeSmmEntry
|
||||
ENTRY_POINT = GenericStatusCodeTraditionalEntry
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
@@ -25,15 +25,16 @@
|
||||
#
|
||||
|
||||
[Sources]
|
||||
ReportStatusCodeRouterSmm.c
|
||||
ReportStatusCodeRouterSmm.h
|
||||
ReportStatusCodeRouterCommon.c
|
||||
ReportStatusCodeRouterCommon.h
|
||||
ReportStatusCodeRouterTraditional.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
SmmServicesTableLib
|
||||
MmServicesTableLib
|
||||
UefiDriverEntryPoint
|
||||
DebugLib
|
||||
BaseLib
|
||||
@@ -41,8 +42,8 @@
|
||||
MemoryAllocationLib
|
||||
|
||||
[Protocols]
|
||||
gEfiSmmRscHandlerProtocolGuid ## PRODUCES
|
||||
gEfiSmmStatusCodeProtocolGuid ## PRODUCES
|
||||
gEfiMmRscHandlerProtocolGuid ## PRODUCES
|
||||
gEfiMmStatusCodeProtocolGuid ## PRODUCES
|
||||
|
||||
[Depex]
|
||||
TRUE
|
||||
|
Reference in New Issue
Block a user