From: david moheban <moheban79@gmail.com>
To: edk2-devel@lists.01.org
Subject: To save size, use NULL library for DebugLib and ReportStatusCodeLib
Date: Thu, 15 Mar 2018 18:12:40 -0400 [thread overview]
Message-ID: <CADxnD1x82+uXMH10VjyxEnKYEacK6M1V6d3Z8eYePfjOWoFi+Q@mail.gmail.com> (raw)
In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1E6DC4@SHSMSX104.ccr.corp.intel.com>
Ok I think I understand. Thank you.
---------- Forwarded message ----------
From: Gao, Liming <liming.gao@intel.com>
Date: Wed, Mar 14, 2018 at 10:31 PM
Subject: RE: [edk2] To save size, use NULL library for DebugLib and
ReportStatusCodeLib
To: david moheban <moheban79@gmail.com>, "edk2-devel@lists.01.org" <
edk2-devel@lists.01.org>
Here is NULL DebugLib and ReportStatusCodeLib instance. They are dummy
implementation. They will not take the image size, and remove the debug
message and ASSERT code from the image. So, they can help to save the image
size.
MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
Thanks
Liming
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
david moheban
> Sent: Thursday, March 15, 2018 7:15 AM MdePkg/Library/
BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
> To: edk2-devel@lists.01.org
> Subject: [edk2] To save size, use NULL library for DebugLib and
ReportStatusCodeLib
>
> What does that mean??
>
> Sorry for asking beginner questions but was just wondering. Trying to
> shrink the size of the Duet image.
>
> Thank you
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
next prev parent reply other threads:[~2018-03-15 22:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-14 23:15 To save size, use NULL library for DebugLib and ReportStatusCodeLib david moheban
2018-03-15 2:31 ` Gao, Liming
2018-03-15 22:12 ` david moheban [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-03-15 21:22 David Moheban
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=CADxnD1x82+uXMH10VjyxEnKYEacK6M1V6d3Z8eYePfjOWoFi+Q@mail.gmail.com \
--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