From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.7605.1609722667419827257 for ; Sun, 03 Jan 2021 17:11:08 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 04 Jan 2021 09:11:04 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , References: In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gRW5hYmxpbmcgREVCVUcgb24gb3RoZXIgbW9kdWxlcw==?= Date: Mon, 4 Jan 2021 09:11:05 +0800 Message-ID: <000901d6e236$79e09100$6da1b300$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQE7wVMwJuo83kl+UfhBHP5+k7DgQ6tM6AMQ Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01D6E279.88046D40" Content-Language: zh-cn ------=_NextPart_000_000A_01D6E279.88046D40 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable You can set PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask to 0x2F in [P= cdsFixedAtBuild] section of Platform.dsc file to enable DEBUG macro.=20 =20 And, set PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel to 0x8000004= 0 to enable ERROR and INFO message.=20 =20 Thanks Liming =E5=8F=91=E4=BB=B6=E4=BA=BA: bounce+27952+69513+4905953+8761045@groups.io = =E4=BB=A3=E8=A1=A8 Ali Shirv= ani =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2021=E5=B9=B41=E6=9C=882=E6=97=A5 21= :34 =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io =E4=B8=BB=E9=A2=98: [edk2-devel] Enabling DEBUG on other modules =20 Hi all, and happy new year. =20 I've enabled the DEBUG macro in my package. I'm using USB_IO_PROTOCOL and = I encountered some problems. I want to enable DEBUG macro on all modules th= at I use in my program. =20 Would you please guide me how I can enable DEBUG macro globally, so I can = find the place where problems occur? =20 Regards, Ali ------=_NextPart_000_000A_01D6E279.88046D40 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

You can set PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPrope= rtyMask to 0x2F in [PcdsFixedAtBuild] section of Platform.dsc file to enabl= e DEBUG macro.

 

And, set PCD gEfiMdePkgTokenSpaceGuid.P= cdDebugPrintErrorLevel to 0x80000040 to enable ERROR and INFO message.

 

Thanks

Liming=

=E5=8F=91=E4=BB=B6= =E4=BA=BA: bounce+27952+69513+49059= 53+8761045@groups.io <bounce+27952+69513+4905953+8761045@groups.io> <= /span>= =E4=BB=A3=E8=A1=A8 Ali Shirvani
=E5=8F=91=E9=80=81=E6=97=B6= = =E9=97=B4: 2021=E5=B9=B41=E6=9C=882=E6=97=A5 21:34
=E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io
=E4=B8= =BB=E9=A2=98: [edk2-devel= ] Enabling DEBUG on other modules

<= p class=3DMsoNormal> 

Hi all,

and happy new year.

 =

I've en= abled the DEBUG macro in my package. I'm using USB_IO_PROTOCOL and I encoun= tered some problems. I want to enable DEBUG macro on all modules that I use= in my program.

 

Would you please guide me how I can enable DEBUG macro glo= bally, so I can find the place where problems occur?

<= /div>

 <= /p>

Regards,

Ali<= /span>

------=_NextPart_000_000A_01D6E279.88046D40--