From: "gaoliming" <gaoliming@byosoft.com.cn>
To: <devel@edk2.groups.io>, <aj.shirvani@gmail.com>
Subject: 回复: [edk2-devel] Enabling DEBUG on other modules
Date: Mon, 4 Jan 2021 09:11:05 +0800 [thread overview]
Message-ID: <000901d6e236$79e09100$6da1b300$@byosoft.com.cn> (raw)
In-Reply-To: <CAFQ97XHgCF9r_374TL7kWoxTMOe1Jm2cvRTJJ2b2m3ZLKCP=_A@mail.gmail.com>
[-- 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 --]
next prev parent reply other threads:[~2021-01-04 1:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-02 13:33 Enabling DEBUG on other modules Ali Shirvani
2021-01-04 1:11 ` gaoliming [this message]
2021-01-04 5:45 ` [edk2-devel] " Ali Shirvani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000901d6e236$79e09100$6da1b300$@byosoft.com.cn' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox