* Enabling DEBUG on other modules
@ 2021-01-02 13:33 Ali Shirvani
2021-01-04 1:11 ` 回复: [edk2-devel] " gaoliming
0 siblings, 1 reply; 3+ messages in thread
From: Ali Shirvani @ 2021-01-02 13:33 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
Hi all,
and happy new year.
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 that
I use in my program.
Would you please guide me how I can enable DEBUG macro globally, so I can
find the place where problems occur?
Regards,
Ali
[-- Attachment #2: Type: text/html, Size: 469 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* 回复: [edk2-devel] Enabling DEBUG on other modules
2021-01-02 13:33 Enabling DEBUG on other modules Ali Shirvani
@ 2021-01-04 1:11 ` gaoliming
2021-01-04 5:45 ` Ali Shirvani
0 siblings, 1 reply; 3+ messages in thread
From: gaoliming @ 2021-01-04 1:11 UTC (permalink / raw)
To: devel, aj.shirvani
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]
You can set PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask to 0x2F in [PcdsFixedAtBuild] section of Platform.dsc file to enable DEBUG macro.
And, set PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel to 0x80000040 to enable ERROR and INFO message.
Thanks
Liming
发件人: bounce+27952+69513+4905953+8761045@groups.io <bounce+27952+69513+4905953+8761045@groups.io> 代表 Ali Shirvani
发送时间: 2021年1月2日 21:34
收件人: devel@edk2.groups.io
主题: [edk2-devel] Enabling DEBUG on other modules
Hi all,
and happy new year.
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 that I use in my program.
Would you please guide me how I can enable DEBUG macro globally, so I can find the place where problems occur?
Regards,
Ali
[-- Attachment #2: Type: text/html, Size: 4955 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] Enabling DEBUG on other modules
2021-01-04 1:11 ` 回复: [edk2-devel] " gaoliming
@ 2021-01-04 5:45 ` Ali Shirvani
0 siblings, 0 replies; 3+ messages in thread
From: Ali Shirvani @ 2021-01-04 5:45 UTC (permalink / raw)
To: gaoliming; +Cc: devel
[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]
Thanks for your response. I've added those flags to MyPkg.dsc file, but
when I got the following assertion and my program stopped working.
ASSERT [Test]
/home/ali/projects/efi/edk2/MdePkg/Library/BaseRngLib/BaseRng.c(49):
(RegEcx & 0x40000000) == 0x40000000
Thanks,
Ali
On Mon, Jan 4, 2021 at 4:41 AM gaoliming <gaoliming@byosoft.com.cn> wrote:
> You can set PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask to 0x2F in
> [PcdsFixedAtBuild] section of Platform.dsc file to enable DEBUG macro.
>
>
>
> And, set PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel to
> 0x80000040 to enable ERROR and INFO message.
>
>
>
> Thanks
>
> Liming
>
> *发件人:* bounce+27952+69513+4905953+8761045@groups.io <
> bounce+27952+69513+4905953+8761045@groups.io> *代表 *Ali Shirvani
> *发送时间:* 2021年1月2日 21:34
> *收件人:* devel@edk2.groups.io
> *主题:* [edk2-devel] Enabling DEBUG on other modules
>
>
>
> Hi all,
>
> and happy new year.
>
>
>
> 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
> that I use in my program.
>
>
>
> Would you please guide me how I can enable DEBUG macro globally, so I can
> find the place where problems occur?
>
>
>
> Regards,
>
> Ali
>
>
>
[-- Attachment #2: Type: text/html, Size: 4477 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-04 5:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-02 13:33 Enabling DEBUG on other modules Ali Shirvani
2021-01-04 1:11 ` 回复: [edk2-devel] " gaoliming
2021-01-04 5:45 ` Ali Shirvani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox