From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 40824211CF36A for ; Tue, 5 Mar 2019 06:22:04 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2019 06:22:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,444,1544515200"; d="scan'208";a="279919838" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga004.jf.intel.com with ESMTP; 05 Mar 2019 06:22:03 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 5 Mar 2019 06:22:02 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 5 Mar 2019 06:22:02 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.163]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.158]) with mapi id 14.03.0415.000; Tue, 5 Mar 2019 22:22:00 +0800 From: "Yao, Jiewen" To: Ard Biesheuvel , "edk2-devel@lists.01.org" Thread-Topic: [PATCH 03/10] StandaloneMmPkg: switch to NULL DebugLib resolution Thread-Index: AQHU01gFeXdx42IzpEWyQjnSsF2w8qX9Fs6Q Date: Tue, 5 Mar 2019 14:22:00 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503F54CFD4@shsmsx102.ccr.corp.intel.com> References: <20190305133248.4828-1-ard.biesheuvel@linaro.org> <20190305133248.4828-4-ard.biesheuvel@linaro.org> In-Reply-To: <20190305133248.4828-4-ard.biesheuvel@linaro.org> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODY2MmU5OWMtN2U4YS00MjFhLTllNmYtZGFlOTY2NDM3ODRlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaFdNZythTmhtSnE1VU85Uk83SXk2R3N2YjVNNHpscW1HNmlWXC9rRnRmVE5GeWJqQUNRbmxaUW4yT1lMTEtpcGUifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 03/10] StandaloneMmPkg: switch to NULL DebugLib resolution X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 14:22:05 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: jiewen.yao@intel.com > -----Original Message----- > From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org] > Sent: Tuesday, March 5, 2019 5:33 AM > To: edk2-devel@lists.01.org > Cc: Ard Biesheuvel ; Achin Gupta > ; Supreeth Venkatesh > ; Yao, Jiewen ; > Leif Lindholm ; Jagadeesh Ujja > > Subject: [PATCH 03/10] StandaloneMmPkg: switch to NULL DebugLib > resolution >=20 > Building StandaloneMmPkg from its .DSC is mainly intended for build > coverage, and so platform specific configuration such as UART addresses > don't belong here. >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel > --- > StandaloneMmPkg/StandaloneMmPkg.dsc | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) >=20 > diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc > b/StandaloneMmPkg/StandaloneMmPkg.dsc > index f279d9e7e5c7..8def9688fe7d 100644 > --- a/StandaloneMmPkg/StandaloneMmPkg.dsc > +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc > @@ -43,7 +43,7 @@ [LibraryClasses] > # > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > - > DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort. > inf > + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf >=20 > DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/Bas > eDebugPrintErrorLevelLib.inf > FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf >=20 > HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneM > mCoreHobLib.inf > @@ -66,10 +66,6 @@ [LibraryClasses.AARCH64] > ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf >=20 > CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCach > eMaintenanceLib.inf >=20 > PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtr > aActionLib/StandaloneMmPeCoffExtraActionLib.inf > - PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf > - > PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011Uart > ClockLib.inf > - # ARM PL011 UART Driver > - > SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLi > b.inf >=20 >=20 > StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmC > oreEntryPoint/StandaloneMmCoreEntryPoint.inf >=20 > @@ -83,11 +79,6 @@ [PcdsFixedAtBuild] > gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff > gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f >=20 > -[PcdsFixedAtBuild.AARCH64] > - ## PL011 - Serial Terminal > - gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c0b0000 > - gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200 > - >=20 > ############################################################## > ##################################### > # > # Components Section - list of the modules and components that will be > processed by compilation > -- > 2.20.1