From ea56ebf67dd55483105aa9f9996a48213e78337e Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Sat, 23 Jan 2021 05:11:48 +0800 Subject: MdePkg/SmiHandlerProfileLibNull: Add MM_STANDALONE support REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3184 Allows the library instance to be linked with MM_STANDALONE modules. Cc: Eric Dong Cc: Hao A Wu Cc: Jian J Wang Cc: Ray Ni Signed-off-by: Michael Kubacki Reviewed-by: Liming Gao --- MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c | 2 +- MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c index c2c6b8bc6f..4bf800c139 100644 --- a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c +++ b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c @@ -6,7 +6,7 @@ **/ -#include +#include #include /** diff --git a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf index caf9af8993..e3512248a0 100644 --- a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf +++ b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf @@ -15,7 +15,7 @@ FILE_GUID = B43D1B52-6251-4E6F-82EC-A599A5EE94C1 MODULE_TYPE = DXE_SMM_DRIVER VERSION_STRING = 1.0 - LIBRARY_CLASS = SmiHandlerProfileLib|DXE_SMM_DRIVER SMM_CORE + LIBRARY_CLASS = SmiHandlerProfileLib|DXE_SMM_DRIVER SMM_CORE MM_STANDALONE MM_CORE_STANDALONE # # The following information is for reference only and not required by the build tools. -- cgit v1.2.3