public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add MM_STANDALONE support
@ 2021-01-22 21:11 mikuback
  2021-01-25  1:17 ` 回复: [edk2-devel] " gaoliming
       [not found] ` <165D54CD9EB5C9CE.23152@groups.io>
  0 siblings, 2 replies; 3+ messages in thread
From: mikuback @ 2021-01-22 21:11 UTC (permalink / raw)
  To: devel; +Cc: Eric Dong, Hao A Wu, Jian J Wang, Ray Ni

From: Michael Kubacki <michael.kubacki@microsoft.com>

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>
---
 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/SmiHandlerProfileLibNull.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 @@
 
 **/
 
-#include <PiSmm.h>
+#include <PiMm.h>
 #include <Library/SmiHandlerProfileLib.h>
 
 /**
diff --git a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
index caf9af899376..e3512248a093 100644
--- a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
+++ b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
@@ -15,7 +15,7 @@ [Defines]
   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.
-- 
2.28.0.windows.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* 回复: [edk2-devel] [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add MM_STANDALONE support
  2021-01-22 21:11 [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add MM_STANDALONE support mikuback
@ 2021-01-25  1:17 ` gaoliming
       [not found] ` <165D54CD9EB5C9CE.23152@groups.io>
  1 sibling, 0 replies; 3+ messages in thread
From: gaoliming @ 2021-01-25  1:17 UTC (permalink / raw)
  To: devel, mikuback
  Cc: 'Eric Dong', 'Hao A Wu', 'Jian J Wang',
	'Ray Ni'

Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

> -----邮件原件-----
> 发件人: bounce+27952+70694+4905953+8761045@groups.io
> <bounce+27952+70694+4905953+8761045@groups.io> 代表
> mikuback@linux.microsoft.com
> 发送时间: 2021年1月23日 5:12
> 收件人: devel@edk2.groups.io
> 抄送: Eric Dong <eric.dong@intel.com>; Hao A Wu <hao.a.wu@intel.com>;
> Jian J Wang <jian.j.wang@intel.com>; Ray Ni <ray.ni@intel.com>
> 主题: [edk2-devel] [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add
> MM_STANDALONE support
> 
> From: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> 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>
> ---
>  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/SmiHandlerProfileLibNull.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 @@
> 
>  **/
> 
> -#include <PiSmm.h>
> +#include <PiMm.h>
>  #include <Library/SmiHandlerProfileLib.h>
> 
>  /**
> diff --git
> a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
> b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
> index caf9af899376..e3512248a093 100644
> --- a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
> +++ b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
> @@ -15,7 +15,7 @@ [Defines]
>    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.
> --
> 2.28.0.windows.1
> 
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#70694): https://edk2.groups.io/g/devel/message/70694
> Mute This Topic: https://groups.io/mt/80041632/4905953
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [gaoliming@byosoft.com.cn]
> -=-=-=-=-=-=
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* 回复: [edk2-devel] [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add MM_STANDALONE support
       [not found] ` <165D54CD9EB5C9CE.23152@groups.io>
@ 2021-02-01  1:32   ` gaoliming
  0 siblings, 0 replies; 3+ messages in thread
From: gaoliming @ 2021-02-01  1:32 UTC (permalink / raw)
  To: devel, gaoliming, mikuback
  Cc: 'Eric Dong', 'Hao A Wu', 'Jian J Wang',
	'Ray Ni'

Create PR https://github.com/tianocore/edk2/pull/1394 to merge this patch. 

Liming
> -----邮件原件-----
> 发件人: bounce+27952+70708+4905953+8761045@groups.io
> <bounce+27952+70708+4905953+8761045@groups.io> 代表 gaoliming
> 发送时间: 2021年1月25日 9:18
> 收件人: devel@edk2.groups.io; mikuback@linux.microsoft.com
> 抄送: 'Eric Dong' <eric.dong@intel.com>; 'Hao A Wu' <hao.a.wu@intel.com>;
> 'Jian J Wang' <jian.j.wang@intel.com>; 'Ray Ni' <ray.ni@intel.com>
> 主题: 回复: [edk2-devel] [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull:
> Add MM_STANDALONE support
> 
> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
> 
> > -----邮件原件-----
> > 发件人: bounce+27952+70694+4905953+8761045@groups.io
> > <bounce+27952+70694+4905953+8761045@groups.io> 代表
> > mikuback@linux.microsoft.com
> > 发送时间: 2021年1月23日 5:12
> > 收件人: devel@edk2.groups.io
> > 抄送: Eric Dong <eric.dong@intel.com>; Hao A Wu <hao.a.wu@intel.com>;
> > Jian J Wang <jian.j.wang@intel.com>; Ray Ni <ray.ni@intel.com>
> > 主题: [edk2-devel] [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add
> > MM_STANDALONE support
> >
> > From: Michael Kubacki <michael.kubacki@microsoft.com>
> >
> > 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>
> > ---
> >  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/SmiHandlerProfileLibNull.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 @@
> >
> >  **/
> >
> > -#include <PiSmm.h>
> > +#include <PiMm.h>
> >  #include <Library/SmiHandlerProfileLib.h>
> >
> >  /**
> > diff --git
> > a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
> > b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
> > index caf9af899376..e3512248a093 100644
> > ---
> a/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
> > +++
> b/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
> > @@ -15,7 +15,7 @@ [Defines]
> >    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.
> > --
> > 2.28.0.windows.1
> >
> >
> >
> > -=-=-=-=-=-=
> > Groups.io Links: You receive all messages sent to this group.
> > View/Reply Online (#70694):
> https://edk2.groups.io/g/devel/message/70694
> > Mute This Topic: https://groups.io/mt/80041632/4905953
> > Group Owner: devel+owner@edk2.groups.io
> > Unsubscribe: https://edk2.groups.io/g/devel/unsub
> > [gaoliming@byosoft.com.cn]
> > -=-=-=-=-=-=
> >
> 
> 
> 
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-01  1:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-22 21:11 [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add MM_STANDALONE support mikuback
2021-01-25  1:17 ` 回复: [edk2-devel] " gaoliming
     [not found] ` <165D54CD9EB5C9CE.23152@groups.io>
2021-02-01  1:32   ` gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox