From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4003:c0f::22f; helo=mail-ot0-x22f.google.com; envelope-from=moheban79@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-ot0-x22f.google.com (mail-ot0-x22f.google.com [IPv6:2607:f8b0:4003:c0f::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C0CFD2253FB79 for ; Thu, 15 Mar 2018 15:06:17 -0700 (PDT) Received: by mail-ot0-x22f.google.com with SMTP id g97-v6so8460932otg.13 for ; Thu, 15 Mar 2018 15:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=3aODyq3BxFXa1Pv9UyxJQF3hrcLr4je8W53A7UHN67s=; b=In6Ns3svsxZM06GOBBpLaJw2zVPuL2o6w0pIRwgpQfcUVpfvH/RNDEAeONjVAT+7+s +u+JIGlhG9llJ7YaeYpOFL8b1hjlbAwmXCnpKx02YZQ/TQXZi6Zd5cO6mlReL/yG47w3 NN0nTFTGwfG+YOjwtfZWqDgOssm57pv1aITqrAOzrNyYkm2QwdTR9LKNEspYrf8Ravjq yJQ3PnqOfbXfu5Tdz5ULlXopX5pNKWEZtOoFc6ZUl2D419JCx+yCvR0gSYb8yYzkCWIS IhO2SGVqtSIj1KKlR7+FI6QOw60kkfl5r8TpxB7lMXhFbMDrFozc6Z1jai9wzfWNO0yE tqZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=3aODyq3BxFXa1Pv9UyxJQF3hrcLr4je8W53A7UHN67s=; b=kf/zH4idgmn++Ser2RyYezU0f+ZKOIVGxhgpALR+qupLybICS5B+fQdqrp7U94iH/O unmyp66J933Y7MkYA+6LLP0V4QiV0RcPdkNFz2MSMlInhM7NBp2eIiKdDnnXe7oamKzt 8VtL+5XI6LmXIPBlxouWmWf1f+YBuySmR+gHlUc0q5P0pi52Y6hCJJZIqpXpeJEbPfH2 c0aN/0xsZTfOK9e1F+QTjPTpUtFqQ/pDkWtIE9fk18lTFMtE4461OiD3gefij2a2EbXV fyzKJLCLXCjqZ/eDPXYipgK6wRBxD0XKtmRZaJW+7Q1ZVslNDK2E1Y63viP42KXlqyDE iM5g== X-Gm-Message-State: AElRT7H6ttCsE2nFgeqdobYM2BsUN4+Ch0/WOs/JiY/Of3f+IGBH3hpF gVehPq28W/e/jTTj3Ta5MgW3B1ZUWZI3q6ImtGU= X-Google-Smtp-Source: AG47ELsMRDkcJpfYXhvMnWXpkc7PX0cQffXm3prttBB5pWT9euYxyVnNIUrLYebrjUpyNlBgTzHUhs5f3h5ADlQWVSY= X-Received: by 10.157.16.49 with SMTP id h46mr6450901ote.98.1521151960722; Thu, 15 Mar 2018 15:12:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.211.143 with HTTP; Thu, 15 Mar 2018 15:12:40 -0700 (PDT) In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1E6DC4@SHSMSX104.ccr.corp.intel.com> References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1E6DC4@SHSMSX104.ccr.corp.intel.com> From: david moheban Date: Thu, 15 Mar 2018 18:12:40 -0400 Message-ID: To: edk2-devel@lists.01.org X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: To save size, use NULL library for DebugLib and ReportStatusCodeLib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2018 22:06:18 -0000 Content-Type: text/plain; charset="UTF-8" Ok I think I understand. Thank you. ---------- Forwarded message ---------- From: Gao, Liming 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 , "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