From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-oln040092071015.outbound.protection.outlook.com [40.92.71.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2961721D491A5 for ; Wed, 2 Aug 2017 06:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=upZBZVDFpy39SXWRPeiE3T9/MowVEHZ876m9X72OPM0=; b=p/S8DmYFlQOa7waHarIMZ3pzutbzh9WP2aeox/KcYC6OCwbyai47rdJOXxV1yQ0bKUjoNaRhSznV8rgZSATdiK9zyJ7oRJ6V2Qc1pqh2Vnd3pYYsfqaS9+7W5s4BtTT68VVExomGPlPFgRuEg8LXXTmDG1JSYlZEVL9TzI/Nb9gOrAGK28kv4L/xqb+1pH9RrHSEnJQk2/KzK7GDagY+26LPkLgvCHGxupzcKryWbknBlgKmu04VyB/Q8Mt6ebgob5o8q+2ES/tdKObyAT+9bsOj3SyeHe38W53jB2bRrJs7J6WPeaDd8SOmQnBy3qLJxYd0p49gyZv6iuriiAU0PQ== Received: from DB5EUR03FT016.eop-EUR03.prod.protection.outlook.com (10.152.20.56) by DB5EUR03HT246.eop-EUR03.prod.protection.outlook.com (10.152.21.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1282.16; Wed, 2 Aug 2017 13:56:36 +0000 Received: from AM4PR06MB1491.eurprd06.prod.outlook.com (10.152.20.57) by DB5EUR03FT016.mail.protection.outlook.com (10.152.20.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.16 via Frontend Transport; Wed, 2 Aug 2017 13:56:35 +0000 Received: from AM4PR06MB1491.eurprd06.prod.outlook.com ([fe80::dcd0:60e6:90e0:871b]) by AM4PR06MB1491.eurprd06.prod.outlook.com ([fe80::dcd0:60e6:90e0:871b%13]) with mapi id 15.01.1304.023; Wed, 2 Aug 2017 13:56:35 +0000 From: Marvin H?user To: "edk2-devel@lists.01.org" CC: Felix Poludov , "michael.d.kinney@intel.com" , "Gao, Liming" Thread-Topic: [PATCH] MdePkg: Add PcdPciExpressRegionLength PCD Token Thread-Index: AdMLlX81eFs3tOGETJ+auIxES1UwdgAAR/hQ Date: Wed, 2 Aug 2017 13:56:35 +0000 Message-ID: References: <9333E191E0D52B4999CE63A99BA663A00302B394A5@atlms1.us.megatrends.com> In-Reply-To: <9333E191E0D52B4999CE63A99BA663A00302B394A5@atlms1.us.megatrends.com> Accept-Language: de-DE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=none action=none header.from=outlook.com; x-incomingtopheadermarker: OriginalChecksum:6EA7F7E3F6C68AEAA945A18BA6163EE036A1CBEC8AC9DF058678D9CC8B9B51AA; UpperCasedChecksum:7646EA7680E45FAEEE5B80CFDDE534D171C13BFF1A03904969B73593A9F5C14F; SizeAsReceived:7435; Count:45 x-tmn: [6DBxRtscsiLiNuZ0u7CbIjC42TMEpESL4BK5R+GoEl57iGjicmWnGgU1cCot++be] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5EUR03HT246; 7:vbJeusC9DsI9fP8S89MeTKkmkIA0oyrDpHuHAJ3zDQ/nR4HwLA190p6uBRNX3cVdDqHXFl00UrsAu2iRvLViuzGN2v8dSyHwktpoGpRhvDnq3n9e/kzjwSY9dYpNjK+RKDTFGCBTRP4enfUFAMiTVNr2cCUo8sZfNU/S/NUHwOG+Zp4E7WCIEEUIiBxyrjNpmw75Vmm2o+Iud4y/7FZ6DkdXLDwp1QDczYDvyAcUxunYFwE3QW8hiB+2ob4VhV+BLMV3BBUI/s4W4SMgGivM8x1Z+vEmf8roUKEWr4+AevAMdqPkKlYL6uXvvcfnDHLvGcjcq3GVAPJLAl1hpdSlPobl2+6ZMtgZqose2GfB9DPAHrn1HiXea0f8Mo5slYqfz158CKUBEnCs3U49jJqkFPsHSw2CFDYvT4u50O3UixJ+d80gOwFjnL7cU9FFLN+YpEGtdsCZ34KGx3nnSSda9qzeC6oBecqXoz73RbNJpov6leM3LgmZpkqW6p757aEsJrdK/Uur/+G7fMCc0I+jwOpBgD8TE19YIh43mzbfa0iVlgeTpe9w+FrjFvyVnBPhecIFDJwZsnUgNDDZYha9jWgEDNoKpkvIccW6OzyhdHf2j7uWj8z2FLXGJAUSWZ0kHkwIGb7cPFvDKZ7t+Ig2DwdzWLydpZeaqB6A0k1cqgHE9vh7JzTN2X1N6WCgJY45ii+jlh6iuEZ1dFbEf0uZKvvVkMVCgkq7xdDgVA+jCk4Bhqqf0sIcOgZ4gzabA60TUHCPDfHV4OhqAIpgXA1L0A== x-incomingheadercount: 45 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:DB5EUR03HT246; H:AM4PR06MB1491.eurprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 7b1713a9-1a1e-4d27-92e4-08d4d9ae4a20 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322377)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB5EUR03HT246; x-ms-traffictypediagnostic: DB5EUR03HT246: x-exchange-antispam-report-test: UriScan:(162533806227266); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:DB5EUR03HT246; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB5EUR03HT246; x-forefront-prvs: 0387D64A71 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2017 13:56:35.6486 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT246 Subject: Re: [PATCH] MdePkg: Add PcdPciExpressRegionLength PCD Token X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2017 13:54:27 -0000 Content-Language: de-DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable A bunch of platforms, such as QuarkSocPkg, already declare such a PCD named= PcdPciExpressSize of type UINT64. Maybe PcdPciExpressSize|UINT64 should be 'promoted' to a MdePkg PCD and the= platform-defined PCDs replaced? Regards, Marvin. > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Felix Poludov > Sent: Wednesday, August 2, 2017 3:48 PM > To: edk2-devel@lists.01.org > Subject: [edk2] [PATCH] MdePkg: Add PcdPciExpressRegionLength PCD > Token >=20 > Add PcdPciExpressRegionLength PCD Token to MdePkg. > The new token can be used in conjunction with PcdPciExpressBaseAddress > PCD token to describe PCI Express MMIO region. >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Felix Polyudov > --- >=20 > Resending with inline patch. >=20 > -- > diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index > d6928b3..7e55019 100644 > --- a/MdePkg/MdePkg.dec > +++ b/MdePkg/MdePkg.dec > @@ -2089,6 +2089,10 @@ > # @Prompt PCI Express Base Address. >=20 > gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000|UINT6 > 4|0x0000000a > + ## Length of the PCI express region. > + # @Prompt PCI Express Region Length. > + > + > gEfiMdePkgTokenSpaceGuid.PcdPciExpressRegionLength|0x10000000|UINT > 32|0 > + x00000031 > + > ## Default current ISO 639-2 language: English & French. > # @Prompt Default Value of LangCodes Variable. >=20 > gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangCodes|"engfraengf > ra"|VOID*|0x0000001c > diff --git a/MdePkg/MdePkg.uni b/MdePkg/MdePkg.uni index > a110e45..62df5dc 100644 > --- a/MdePkg/MdePkg.uni > +++ b/MdePkg/MdePkg.uni > @@ -276,6 +276,10 @@ > #string STR_gEfiMdePkgTokenSpaceGuid_PcdPciExpressBaseAddress_HELP > #language en-US "This value is used to set the base address of PCI expres= s > hierarchy." > +#string > STR_gEfiMdePkgTokenSpaceGuid_PcdPciExpressRegionLength_PROMPT > #language en-US "PCI Express Region Length" > + > +#string > STR_gEfiMdePkgTokenSpaceGuid_PcdPciExpressRegionLength_HELP > #language en-US "Length of the PCI express region." > + > #string > STR_gEfiMdePkgTokenSpaceGuid_PcdUefiVariableDefaultLangCodes_PROM > PT #language en-US "Default Value of LangCodes Variable" > #string > STR_gEfiMdePkgTokenSpaceGuid_PcdUefiVariableDefaultLangCodes_HELP > #language en-US "Default current ISO 639-2 language: English & French." > -- >=20 > Please consider the environment before printing this email. >=20 > The information contained in this message may be confidential and > proprietary to American Megatrends, Inc. This communication is intended = to > be read only by the individual or entity to whom it is addressed or by th= eir > designee. If the reader of this message is not the intended recipient, yo= u are > on notice that any distribution of this message, in any form, is strictly > prohibited. Please promptly notify the sender by reply e-mail or by > telephone at 770-246-8600, and then delete or destroy all copies of the > transmission. > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel