[edk2-devel][PATCH] edk2/MdeModulePkg/Debuglib: Add Standalone MM support

Xiaolu.Jiang posted 1 patch 2 years, 2 months ago
Failed in applying to current master (apply log)
.../PeiDxeDebugLibReportStatusCode.inf                        | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[edk2-devel][PATCH] edk2/MdeModulePkg/Debuglib: Add Standalone MM support
Posted by Xiaolu.Jiang 2 years, 2 months ago
https://bugzilla.tianocore.org/show_bug.cgi?id=3844

This change added Standalone MM instance of DebugLib.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>

Signed-off-by: Xiaolu.Jiang <xiaolu.jiang@intel.com>
---
 .../PeiDxeDebugLibReportStatusCode.inf                        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf b/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
index b52fc5686a..c7b75de38a 100644
--- a/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
+++ b/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
@@ -2,7 +2,7 @@
 #  Debug Library based on report status code library
 #
 #  Debug Library for PEIMs and DXE drivers that sends debug messages to ReportStatusCode
-#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+#  Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>
 #
 #  SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -16,7 +16,7 @@
   FILE_GUID                      = bda39d3a-451b-4350-8266-81ab10fa0523
   MODULE_TYPE                    = PEIM
   VERSION_STRING                 = 1.0
-  LIBRARY_CLASS                  = DebugLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER SMM_CORE PEIM SEC PEI_CORE UEFI_APPLICATION UEFI_DRIVER
+  LIBRARY_CLASS                  = DebugLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER SMM_CORE PEIM SEC PEI_CORE UEFI_APPLICATION UEFI_DRIVER MM_STANDALONE
 
 #
 # The following information is for reference only and not required by the build tools.
-- 
2.30.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#86996): https://edk2.groups.io/g/devel/message/86996
Mute This Topic: https://groups.io/mt/89317370/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel][PATCH] edk2/MdeModulePkg/Debuglib: Add Standalone MM support
Posted by Wang, Jian J 2 years, 2 months ago

Reviewed-by: Jian J Wang <jian.j.wang@intel.com>

Regards,
Jian

> -----Original Message-----
> From: Jiang, Xiaolu <xiaolu.jiang@intel.com>
> Sent: Friday, February 25, 2022 9:56 AM
> To: devel@edk2.groups.io
> Cc: Jiang, Xiaolu <xiaolu.jiang@intel.com>; Wang, Jian J
> <jian.j.wang@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>
> Subject: [edk2-devel][PATCH] edk2/MdeModulePkg/Debuglib: Add Standalone
> MM support
> 
> https://bugzilla.tianocore.org/show_bug.cgi?id=3844
> 
> This change added Standalone MM instance of DebugLib.
> 
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> 
> Signed-off-by: Xiaolu.Jiang <xiaolu.jiang@intel.com>
> ---
>  .../PeiDxeDebugLibReportStatusCode.inf                        | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git
> a/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibR
> eportStatusCode.inf
> b/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibR
> eportStatusCode.inf
> index b52fc5686a..c7b75de38a 100644
> ---
> a/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibR
> eportStatusCode.inf
> +++
> b/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibR
> eportStatusCode.inf
> @@ -2,7 +2,7 @@
>  #  Debug Library based on report status code library
> 
>  #
> 
>  #  Debug Library for PEIMs and DXE drivers that sends debug messages to
> ReportStatusCode
> 
> -#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
> 
> +#  Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>
> 
>  #
> 
>  #  SPDX-License-Identifier: BSD-2-Clause-Patent
> 
>  #
> 
> @@ -16,7 +16,7 @@
>    FILE_GUID                      = bda39d3a-451b-4350-8266-81ab10fa0523
> 
>    MODULE_TYPE                    = PEIM
> 
>    VERSION_STRING                 = 1.0
> 
> -  LIBRARY_CLASS                  = DebugLib|DXE_CORE DXE_DRIVER
> DXE_RUNTIME_DRIVER DXE_SMM_DRIVER SMM_CORE PEIM SEC PEI_CORE
> UEFI_APPLICATION UEFI_DRIVER
> 
> +  LIBRARY_CLASS                  = DebugLib|DXE_CORE DXE_DRIVER
> DXE_RUNTIME_DRIVER DXE_SMM_DRIVER SMM_CORE PEIM SEC PEI_CORE
> UEFI_APPLICATION UEFI_DRIVER MM_STANDALONE
> 
> 
> 
>  #
> 
>  # The following information is for reference only and not required by the build
> tools.
> 
> --
> 2.30.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87116): https://edk2.groups.io/g/devel/message/87116
Mute This Topic: https://groups.io/mt/89317370/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
回复: [edk2-devel][PATCH] edk2/MdeModulePkg/Debuglib: Add Standalone MM support
Posted by gaoliming 2 years, 2 months ago
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Xiaolu.Jiang
> 发送时间: 2022年2月25日 9:56
> 收件人: devel@edk2.groups.io
> 抄送: Xiaolu.Jiang <xiaolu.jiang@intel.com>; Jian J Wang
> <jian.j.wang@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>
> 主题: [edk2-devel][PATCH] edk2/MdeModulePkg/Debuglib: Add Standalone
> MM support
> 
> https://bugzilla.tianocore.org/show_bug.cgi?id=3844
> 
> This change added Standalone MM instance of DebugLib.
> 
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> 
> Signed-off-by: Xiaolu.Jiang <xiaolu.jiang@intel.com>
> ---
>  .../PeiDxeDebugLibReportStatusCode.inf                        | 4
> ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git
> a/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLi
> bReportStatusCode.inf
> b/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLi
> bReportStatusCode.inf
> index b52fc5686a..c7b75de38a 100644
> ---
> a/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLi
> bReportStatusCode.inf
> +++
> b/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLi
> bReportStatusCode.inf
> @@ -2,7 +2,7 @@
>  #  Debug Library based on report status code library
> 
>  #
> 
>  #  Debug Library for PEIMs and DXE drivers that sends debug messages to
> ReportStatusCode
> 
> -#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
> 
> +#  Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>
> 
>  #
> 
>  #  SPDX-License-Identifier: BSD-2-Clause-Patent
> 
>  #
> 
> @@ -16,7 +16,7 @@
>    FILE_GUID                      =
> bda39d3a-451b-4350-8266-81ab10fa0523
> 
>    MODULE_TYPE                    = PEIM
> 
>    VERSION_STRING                 = 1.0
> 
> -  LIBRARY_CLASS                  = DebugLib|DXE_CORE
> DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER SMM_CORE PEIM
> SEC PEI_CORE UEFI_APPLICATION UEFI_DRIVER
> 
> +  LIBRARY_CLASS                  = DebugLib|DXE_CORE
> DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER SMM_CORE PEIM
> SEC PEI_CORE UEFI_APPLICATION UEFI_DRIVER MM_STANDALONE
> 
> 
> 
>  #
> 
>  # The following information is for reference only and not required by the
> build tools.
> 
> --
> 2.30.2.windows.1
> 
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#86996): https://edk2.groups.io/g/devel/message/86996
> Mute This Topic: https://groups.io/mt/89317370/4905953
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [gaoliming@byosoft.com.cn]
> -=-=-=-=-=-=
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87117): https://edk2.groups.io/g/devel/message/87117
Mute This Topic: https://groups.io/mt/89466938/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-