From patchwork Tue Mar 29 16:06:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Duran, Leo" X-Patchwork-Id: 64606 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp2103977lbc; Tue, 29 Mar 2016 09:06:55 -0700 (PDT) X-Received: by 10.98.18.195 with SMTP id 64mr4730311pfs.131.1459267613494; Tue, 29 Mar 2016 09:06:53 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id b8si22194263pfd.34.2016.03.29.09.06.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Mar 2016 09:06:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@amdcloud.onmicrosoft.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id D05801A1F79; Tue, 29 Mar 2016 09:07:21 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0603.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:603]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 504091A1EED for ; Tue, 29 Mar 2016 09:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ncr7/qsz3eEVjILR8/IbyZ1pTwy02AD53HyoGpH2pgw=; b=I3hdl9EFOpPcwqwRLqDGcO/op5eqe3mf+llv+3nUqNsHMv6lqrvm63WX+i5BEIHFIAJpSEDf1coObc/VA0qbq6C7TMe6+6s3p6f1WHTP2yqqfB+ZqGsa90WJ7qZBC997iBE+gl7pxUy1Rf+krtpCJ+5MAUMH4nVzw7f+Q8NB+eo= Authentication-Results: lists.01.org; dkim=none (message not signed) header.d=none; lists.01.org; dmarc=none action=none header.from=amd.com; Received: from leduran-Precision-WorkStation-T5400.vendor.access.domain (165.204.77.2) by CY1PR12MB0524.namprd12.prod.outlook.com (10.163.92.146) with Microsoft SMTP Server (TLS) id 15.1.447.15; Tue, 29 Mar 2016 16:06:48 +0000 From: Leo Duran To: Date: Tue, 29 Mar 2016 11:06:26 -0500 Message-ID: <1459267586-2980-1-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [165.204.77.2] X-ClientProxiedBy: SN2PR10CA0003.namprd10.prod.outlook.com (10.160.12.141) To CY1PR12MB0524.namprd12.prod.outlook.com (10.163.92.146) X-MS-Office365-Filtering-Correlation-Id: 288eda0a-45e5-4577-66d0-08d357ec2225 X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0524; 2:wxHIdHvsheFERNBUXOopRT1XZHbD/+Wms9TocreNUji3YhU2dj3hIxS+bdT8WJDmpEshDd9ShQBWROVJrpnQeMJrY1NQ2rKYnFnXZ4rS7zZAv+KKUo82uVS03hrLaJFMAzLw1UaYm8wBPXHsad2UCYEFlLanMG2K28kAgvU0N2cj2dAbOM0kpWvl8DhHeMP4; 3:gTG2941dUNUgSVTyh4ihn3sZyTpNWdgzTwy8uB/lpE6GXrHZsJMtaUJFcTknL0fXXY38YWY83v7N5OojZan+tRjxXxq4akz4IpiioyhNDnxgojx0SYm7shlQZ4s69A5l; 25:aj7OgjBMzDlx/Npd11/TExSt47svSxKP8U8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U/eIK9dSJ5rs0sxsJz6e1SD86243+ft5ne6YAB5iHFQ; 4:ej0mlCUUuGSVpNelaqRpowcfgzxiJdJb4DDKriCqe921SashpU8rb4H+e+30CiYE5SuQbL0w1+b0VWbvehfhudXaxw/YOoR7cug/jT2uhwa1vbN4xu9rW1IrqdNRS6N9a4bsErT9GCUqklmFT/7rh1M04THT0eBYki53NsZcl9Y910aJpV5EPmPLfFxsKj0QR1+MW85OLWnxtw+gj7QF1KRKvMrPJSSgc+aF1WyyL3EyvQ1GZs21AVZcGwIYS1va+zSvCF1tZBHijvx4veiZWxmB3gf5vQneOUHfBavXOfX/44k4TVzSuIyXh0sP32EI2wQlhzGPLrz5zT2N/4uhpDSNMMvs9NA2CtDSZW8h91qsmFYxEJBADWD6WTBpvT3i X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:CY1PR12MB0524; BCL:0; PCL:0; RULEID:; SRVR:CY1PR12MB0524; X-Forefront-PRVS: 0896BFCE6C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(2906002)(19580395003)(50986999)(19580405001)(36756003)(50226001)(81166005)(42186005)(86362001)(5004730100002)(5008740100001)(47776003)(5003940100001)(2351001)(110136002)(586003)(50466002)(77096005)(1096002)(6116002)(66066001)(92566002)(4326007)(189998001)(48376002)(229853001)(3846002)(33646002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR12MB0524; H:leduran-Precision-WorkStation-T5400.vendor.access.domain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0524; 23:qaEAUuaecgBbpoLb8cHEUXQwx+Awa4Hu3K80qVSn/lHiUug0KRPRbZBg5idIOJFXnSR1B2HC9ICKWhEf/SnNppSUMWR8l7d252pUnUNSesuzb06LkuT6WADIcfHwkDe3P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MoJl8KzGkQrA/BwQbjk1QzVLVy+NjvXzOBfZE5pbiK9lbOZ2sCH8YPGD+EltnZ8Y51HuwUftGdjm3HJXvlyAJNmkY3HRHk68bwI4MeSLZazMZ9RewX9uDv2oARoeh3vG+mHEWLczRMpKG9+bIZLm3XBvFSvwy7Ke5+74/24L0JU2+8d//2GLGQL90eVW5s7VSpYCls5/mZF8eGsJkUlNLN1Ucw1GJvJvsOQbIiSNi X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2016 16:06:48.3646 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR12MB0524 Subject: [edk2] [PATCH] MdeModulePkg: consistent AllocatePages() support for tables above 4 GB's X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Leo Duran , leif.lindholm@linaro.org, ard.biesheuvel@linaro.org Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Signed-off-by: Leo Duran --- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c index 7f95b9d..e1fd928 100644 --- a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c +++ b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c @@ -518,7 +518,7 @@ AddTableToList ( // ASSERT ((EFI_PAGE_SIZE % 64) == 0); Status = gBS->AllocatePages ( - AllocateMaxAddress, + mAcpiTableAllocType, EfiACPIMemoryNVS, CurrentTableList->NumberOfPages, &CurrentTableList->PageAddress