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-boun...@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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel