]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/SmiHandlerProfileLibNull: Add MM_STANDALONE support
authorMichael Kubacki <michael.kubacki@microsoft.com>
Fri, 22 Jan 2021 21:11:48 +0000 (05:11 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 1 Feb 2021 01:40:38 +0000 (01:40 +0000)
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3184

Allows the library instance to be linked with MM_STANDALONE modules.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c
MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf

index c2c6b8bc6ff9d6c57bf3a2d3cdde7df996f16b5c..4bf800c139a60f2746421ed6769e505ccf6376b2 100644 (file)
@@ -6,7 +6,7 @@
 \r
 **/\r
 \r
-#include <PiSmm.h>\r
+#include <PiMm.h>\r
 #include <Library/SmiHandlerProfileLib.h>\r
 \r
 /**\r
index caf9af899376d2040c4d49cb1ab7ff153a5998ab..e3512248a093ac6fb205af8cd6711ae92acac67b 100644 (file)
@@ -15,7 +15,7 @@
   FILE_GUID                      = B43D1B52-6251-4E6F-82EC-A599A5EE94C1\r
   MODULE_TYPE                    = DXE_SMM_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = SmiHandlerProfileLib|DXE_SMM_DRIVER SMM_CORE\r
+  LIBRARY_CLASS                  = SmiHandlerProfileLib|DXE_SMM_DRIVER SMM_CORE MM_STANDALONE MM_CORE_STANDALONE\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r