From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.92.3.67; helo=nam02-bl2-obe.outbound.protection.outlook.com; envelope-from=akamit91@hotmail.com; receiver=edk2-devel@lists.01.org Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-oln040092003067.outbound.protection.outlook.com [40.92.3.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C9ADD21A1099D for ; Mon, 27 Nov 2017 04:15:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=h0xTFa8BXe2Quw3Lci3TkPJlAulSaGLGXqHM222Dgy8=; b=WUSViBPPqmtyAEECvxVhjHPyQ+WfIRj3ZuM/ryssIabPCZzAOvkfSoQ9G0vHaCpc3duVpgpAmBZ19iM81LaPa/MM7a5Uop29FhJlPsZ94iEMnuciMQ5oIwAz5ZWoTYfFrTMfkfxuxqZN9nuPdT3TTSvlmQooxdy9fUabEUd7kegSPrwo6JulO861FpSLZ9L/1qQUXsVQ9ej9BSH/0bFO7INDtctTQQEVs4HqjsUW/MABFadkF5mBWwDBJqpaz3O5d+PqZuSBPtDIeHslPmKhXZja1RX/ZGAmyEFivsnF6tsONhHkNruiDNmFvZNUjmN3QAdR4kzGivGYrRZXxWUefA== Received: from CY1NAM02FT038.eop-nam02.prod.protection.outlook.com (10.152.74.60) by CY1NAM02HT098.eop-nam02.prod.protection.outlook.com (10.152.75.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.218.12; Mon, 27 Nov 2017 12:20:06 +0000 Received: from DM5PR11MB1578.namprd11.prod.outlook.com (10.152.74.51) by CY1NAM02FT038.mail.protection.outlook.com (10.152.74.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.239.4 via Frontend Transport; Mon, 27 Nov 2017 12:20:06 +0000 Received: from DM5PR11MB1578.namprd11.prod.outlook.com ([10.172.37.22]) by DM5PR11MB1578.namprd11.prod.outlook.com ([10.172.37.22]) with mapi id 15.20.0260.006; Mon, 27 Nov 2017 12:20:06 +0000 From: Amit kumar To: "edk2-devel@lists.01.org" Thread-Topic: [edk2] Accessing memory above 0xFFFFFFFF limit. Thread-Index: AQHTZ3oKOVTq1nC7QECcguPxVaoH3g== Date: Mon, 27 Nov 2017 12:20:06 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:9228E54775CCBB845D06D3A6F3ED70DB2F18B3B85676A52280FA1EE663A7D419; UpperCasedChecksum:1286B60E94C25CFC799816E50740A945538871D6A78C7FD702D1DC7B4750F78E; SizeAsReceived:6852; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [k80n729Gcvv23KOA7vTLY8U4aOD0XExe] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY1NAM02HT098; 6:p0EHGwl24lMOVxmUasJ6IwnzR3xE6rWQZK/CW6Zb80Ea6lZ+Fi66yVhU1O7eijX2lV7B/UUWx4PWWQQhcAbgvKoyX8X7YwnQCntzxQEiHJ86jPFYDAwaurqn/1t8HGPRMdBwOM0wI2ZRONwXjL2IPvxfiqxqMy7rJw0cdMpd/uVRI46fsMWS9QLQuW1gszXI13h4NmGSU0QIUJQ6HGAy3OL1mxBdLnh2bSzjAjj97kz/4OBnRlaw2pNOdSNky3YelEpNZtUL7UVy6GwTAPlvkXfkl+TEUWVA26FC/5HjARfAYLRSZTIAWBbbVrWGsBlQb29HJkJ7z0tXc9Qr7h4KyXgdd6a/2sJ6FE7flKyNz7Y=; 5:8Cb5yZNyQgDPcZzXzmFQI7bUI6pPb7Q0CY42hBwdaG5SDZawo3L7tFC0Jg9f83GLqu0esuBe+oM1eMZg2GJbduNcC+Fg7Uh6T66sEa5v0P2jgipaBfxLythhpRkbI7et3SzAU7hDcXy7WXBY0LB8jGNWLVRwtnJIvgAGB1DKKyw=; 24:qhnDspxdBGBt67pRq0g3tAMMGYO+XVYkrZKhq03RALG7r400oSa4FufHihkwn8MSJA0SNDV3+CRfBBaY6wFkVXadMXxYZc1iBM+DKRGTjk4=; 7:NVypfrhJUTEvY/B24BACPIRj/dAfImarF1DiT5vlWdQkmZ85pu7RQqZTuSZrs/3TuVafWFiaaC46P/LyD62t2+XOxwadhOp2etU5Lj0jyQ9klR+XaHeP8jE+UmOB1EBFzvDNmiVPA05pb10vlsAvD90v6SiD77P9Hq6A+5nq3tHZOlyMhsSkSNVwPfN8wY11ylJ2BFUMqD69ed0K/eDp/qb5UJLTXRKaYHEwax4W6CSHhKTB5n3MWC0kNyJbVSBA x-incomingheadercount: 44 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045); SRVR:CY1NAM02HT098; x-ms-traffictypediagnostic: CY1NAM02HT098: x-ms-office365-filtering-correlation-id: 68592b31-9430-4b53-af0b-08d5359131c6 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:CY1NAM02HT098; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY1NAM02HT098; x-forefront-prvs: 0504F29D72 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:CY1NAM02HT098; H:DM5PR11MB1578.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: 68592b31-9430-4b53-af0b-08d5359131c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2017 12:20:06.3646 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT098 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Accessing memory above 0xFFFFFFFF limit. 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: Mon, 27 Nov 2017 12:15:46 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi. I am trying to allocate a mem buffer above 4Gb address but the allocation since i am unable to locate EdkiiIoMmuProtocol. Status =3D gBS->LocateProtocol (&gEdkiiIoMmuProtocolGuid, NULL, (VOID **)&m= IoMmuProtocol); Status =3D mIoMmuProtocol->AllocateBuffer ( mIoMmuProtocol, MaxAllocateType, EfiBootServicesData, 1, HostAddress, EDKII_IOMMU_ATTRIBUTE_DUAL_ADDRESS_CYCLE ); Best Regards Amit Kumar