From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.4.41; helo=eur03-db5-obe.outbound.protection.outlook.com; envelope-from=meenakshi.aggarwal@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40041.outbound.protection.outlook.com [40.107.4.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1D04E21F7D4F8 for ; Thu, 12 Oct 2017 23:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=NsL/+dX6Ptflg3Nsp416a9+OhZMUhpm8OWAbEvfH+b0=; b=Jx9N57bF2RDSsTKseNaWBeUfi7CKNQcPyBNlHXRJKsM6UNgqimWItqPw6nOZKHLh8yk6BQAGKMbDVbyK16mxmD6S38bmlIQ7Y3qX4FL3MUNZg0faaHhbCd8mAzjxYw6Rakesc8JqAf0xXSM3V+AbVWk39UQkHzfp811SEo4VtFY= Received: from DB5PR04MB0998.eurprd04.prod.outlook.com (10.161.199.12) by DB5PR04MB0998.eurprd04.prod.outlook.com (10.161.199.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Fri, 13 Oct 2017 06:07:08 +0000 Received: from DB5PR04MB0998.eurprd04.prod.outlook.com ([fe80::411c:6de2:e600:73c0]) by DB5PR04MB0998.eurprd04.prod.outlook.com ([fe80::411c:6de2:e600:73c0%14]) with mapi id 15.20.0077.021; Fri, 13 Oct 2017 06:07:08 +0000 From: Meenakshi Aggarwal To: Ard Biesheuvel , "Kinney, Michael D" , "edk2-devel@lists.01.org" , "Gao, Liming" Thread-Topic: [edk2] [PATCH 1/1] MdePkg/IoLib: Add support for big-endian MMIO Thread-Index: AQHSJf8g4WbKjSWeTUGVohhhcxe8iqCr++gAgAAQ+YCAADsgAIAAJeEAgjcV3KA= Date: Fri, 13 Oct 2017 06:07:08 +0000 Message-ID: References: <1476437615-29534-1-git-send-email-bhupesh.sharma@nxp.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14B49505E@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=meenakshi.aggarwal@nxp.com; x-originating-ip: [192.88.169.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5PR04MB0998; 6:YXSD9hBLUYxVTX5/zyYKADrUh+gjq0dYdwYRWJmh44QxOTxziQTLLetiVIUfWov6S7D8sJQYOxWHC7wVGJVJFHvrd21D00bPRiCFMj7ji1owbNFCY1hQml3RkGb2Rqt8/RXxrNord8abXuTCj1yBRLLELi9NMoba0LY5/rRrIDv3nS22Bm+zxb2pmyoRB/L5c4ydzQI2IAjUT9R6apz5oStr+fm4q4fH/eMrCunL6MlwHlyl9DWf2VJdLOVr1FT2Tiafe40HSIRpxT+q1BBmAwcZPUC8m0itY8GXSMPBqhxvBpXZXNkdBGN3/AndjxBLYmQhQ1QpRBlriMd/StDaRQ==; 5:nLGL4jKW3I3zBYdBp5/ouuP8FwjP25lbLj5CLHgFlJL1RbLVFBxAiR/jTE1KnM2JGBUHcDZXTkgxFSTnSx53I+8mkY+BGhqu8yilq5SBnYVbft6oQkR/JSLZLYPeasHTtRvHEjenRwGs1LEOkhwKdA==; 24:vDop0JODeqrHBfacG8W06JTiZ14lAgdYYd2LJ2r8JGt3CWEhqqkpgvCHGQi5ImCmqv3DykMFGQwma1i8YRQmMfug1wApCRevMO6iSWTKuFw=; 7:IkkewoRj3+cl2qUNaEmDyvTnW/OzgkDD9H0nch02L9pbSkbtZiPR74gNKx4CnZMkqWA29d6UKuCOT/zMwHMKz6eApWU3P/t9dEDOq0N5U2HUpPjAqrOUhC3vX2Ztv1YP35rQND+L4H00ka5nOh8RzZ6kJ/4fVpv85zwPr15161rW3V9LSSBho+bMJtrFlaTpzjyDkhdAeUIJ7uwKbqaXl+A+qh7XXcEdHr8dppoAoV0= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 8372c7fa-473f-4cf1-7796-08d51200a315 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DB5PR04MB0998; x-ms-traffictypediagnostic: DB5PR04MB0998: x-exchange-antispam-report-test: UriScan:(185117386973197)(228905959029699); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123558100)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB5PR04MB0998; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB5PR04MB0998; x-forefront-prvs: 04599F3534 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(6029001)(39860400002)(376002)(346002)(53754006)(199003)(13464003)(24454002)(377454003)(189002)(101416001)(53546010)(316002)(68736007)(189998001)(97736004)(2501003)(66066001)(5250100002)(478600001)(81156014)(6116002)(102836003)(3846002)(14454004)(8676002)(81166006)(2906002)(3660700001)(2950100002)(6246003)(33656002)(8936002)(6506006)(25786009)(2900100001)(99286003)(55016002)(53936002)(7736002)(105586002)(305945005)(106356001)(7696004)(5660300001)(9686003)(110136005)(74316002)(93886005)(86362001)(50986999)(6436002)(229853002)(76176999)(3280700002)(54356999); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB0998; H:DB5PR04MB0998.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2017 06:07:08.6936 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB0998 Subject: Re: [PATCH 1/1] MdePkg/IoLib: Add support for big-endian MMIO 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: Fri, 13 Oct 2017 06:03:45 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgQWxsLA0KDQoNCkl04oCZcyBhIHByZXR0eSBvbGQgZGlzY3Vzc2lvbiwgd2UgaGF2ZSBsZWZ0 IHRoZSB1cHN0cmVhbWluZyBvZiBOWFAgcGFja2FnZSBpbiBiZXR3ZWVuIGJlY2F1c2Ugb2Ygc29t ZSBvdGhlciB3b3JrLCBidXQgaGF2ZSBzdGFydGVkIGl0IGFnYWluIG5vdy4NCg0KDQpJc3N1ZSAg OiBGZXcgTlhQIG1vZHVsZXMgc3VwcG9ydCBCaWcgRW5kaWFuIE1NSU9zIGFzIHRoZXNlIGFyZSBw b3J0ZWQgZnJvbSBQb3dlclBDLg0KDQpTb2x1dGlvbiBzdWdnZXN0ZWQgOiBDcmVhdGUgYSBzZXBh cmF0Z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