* To save size, use NULL library for DebugLib and ReportStatusCodeLib
@ 2018-03-14 23:15 david moheban
2018-03-15 2:31 ` Gao, Liming
0 siblings, 1 reply; 4+ messages in thread
From: david moheban @ 2018-03-14 23:15 UTC (permalink / raw)
To: edk2-devel
What does that mean??
Sorry for asking beginner questions but was just wondering. Trying to
shrink the size of the Duet image.
Thank you
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: To save size, use NULL library for DebugLib and ReportStatusCodeLib
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
0 siblings, 1 reply; 4+ messages in thread
From: Gao, Liming @ 2018-03-15 2:31 UTC (permalink / raw)
To: david moheban, 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* To save size, use NULL library for DebugLib and ReportStatusCodeLib
2018-03-15 2:31 ` Gao, Liming
@ 2018-03-15 22:12 ` david moheban
0 siblings, 0 replies; 4+ messages in thread
From: david moheban @ 2018-03-15 22:12 UTC (permalink / raw)
To: edk2-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* To save size, use NULL library for DebugLib and ReportStatusCodeLib
@ 2018-03-15 21:22 David Moheban
0 siblings, 0 replies; 4+ messages in thread
From: David Moheban @ 2018-03-15 21:22 UTC (permalink / raw)
To: edk2-devel
Sorry Lazslo,
Call it beginners mistake. The thing is its so easy to hit the reply button as the replies that I am receiving have your email address as the sender. I will make an effort though not fill in your inbox.
Thank you
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-15 22:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
-- strict thread matches above, loose matches on Subject: below --
2018-03-15 21:22 David Moheban
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox