回复: [edk2-devel] [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add MM_STANDALONE support

gaoliming gaoliming at byosoft.com.cn
Mon Jan 25 01:17:57 UTC 2021


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

> -----邮件原件-----
> 发件人: bounce+27952+70694+4905953+8761045 at groups.io
> <bounce+27952+70694+4905953+8761045 at groups.io> 代表
> mikuback at linux.microsoft.com
> 发送时间: 2021年1月23日 5:12
> 收件人: devel at edk2.groups.io
> 抄送: Eric Dong <eric.dong at intel.com>; Hao A Wu <hao.a.wu at intel.com>;
> Jian J Wang <jian.j.wang at intel.com>; Ray Ni <ray.ni at intel.com>
> 主题: [edk2-devel] [PATCH v1 1/1] MdePkg/SmiHandlerProfileLibNull: Add
> MM_STANDALONE support
> 
> From: Michael Kubacki <michael.kubacki at 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 at intel.com>
> Cc: Hao A Wu <hao.a.wu at intel.com>
> Cc: Jian J Wang <jian.j.wang at intel.com>
> Cc: Ray Ni <ray.ni at intel.com>
> Signed-off-by: Michael Kubacki <michael.kubacki at 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 at edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [gaoliming at byosoft.com.cn]
> -=-=-=-=-=-=
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#70708): https://edk2.groups.io/g/devel/message/70708
Mute This Topic: https://groups.io/mt/80093912/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list