From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.15792.1611349930101799734 for ; Fri, 22 Jan 2021 13:12:10 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=n6+gduGt; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [131.107.174.202]) by linux.microsoft.com (Postfix) with ESMTPSA id 968F720B7192; Fri, 22 Jan 2021 13:12:09 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 968F720B7192 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1611349929; bh=aJ8949J331fzXlWLAEXdt6TdfPc9L71Rq2SuI58cl58=; h=From:To:Cc:Subject:Date:From; b=n6+gduGtHt/9secwaOCo7OBGAuGoxJVwhdyC146iyhqY2RAgzdZyXX3KPHv7oJsB8 0pwzOkr7MnwJh23XyG6MrzJa6sAHp1jCoQ2InUKHkaQdxjz3LZi/xeHTV7uYGXTkj8 rtgdaXPl6ZemUUE3nrPwODPt1mUWl8VX4Q31C4k4= From: mikuback@linux.microsoft.com To: devel@edk2.groups.io Cc: Eric Dong , Hao A Wu , Jian J Wang , Ray Ni Subject: [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add MM_STANDALONE support Date: Fri, 22 Jan 2021 13:11:48 -0800 Message-Id: <20210122211148.814-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3184 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 --- MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c | 2= +- MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf | 2= +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLib= Null.c b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull= .c index c2c6b8bc6ff9..4bf800c139a6 100644 --- a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c +++ b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c @@ -6,7 +6,7 @@ =20 **/ =20 -#include +#include #include =20 /** diff --git a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLib= Null.inf b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNu= ll.inf index caf9af899376..e3512248a093 100644 --- a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.in= f +++ b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.in= f @@ -15,7 +15,7 @@ [Defines] FILE_GUID =3D B43D1B52-6251-4E6F-82EC-A599A5EE94C= 1 MODULE_TYPE =3D DXE_SMM_DRIVER VERSION_STRING =3D 1.0 - LIBRARY_CLASS =3D SmiHandlerProfileLib|DXE_SMM_DRIVER= SMM_CORE + LIBRARY_CLASS =3D SmiHandlerProfileLib|DXE_SMM_DRIVER= SMM_CORE MM_STANDALONE MM_CORE_STANDALONE =20 # # The following information is for reference only and not required by th= e build tools. --=20 2.28.0.windows.1