From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 08BB78220E for ; Fri, 3 Mar 2017 07:11:41 -0800 (PST) Received: by mail-wr0-x231.google.com with SMTP id u48so75720808wrc.0 for ; Fri, 03 Mar 2017 07:11:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=pPZCLKMWKKaVj8pmbRWA9fCj5oWfLsktUGnUT1LWJv4=; b=WUUwdfPFM9R5iEIxdoFdgp99J9SM4CTNEICzCaXM2zxLPrXHBGgysg52pWjO1aM83+ 6hMd/CsFSkAIcjC4AduCYYQwALuYArJD01puvho3jhS4LXzoz7J0fhv55qcriH1qvpIq 8kP8FKiquvwscgMuByJ4GN9aa38VsslfKpebA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pPZCLKMWKKaVj8pmbRWA9fCj5oWfLsktUGnUT1LWJv4=; b=fc7MkUfTenUKEK9TS5Y0d7mBjSXkC0eAdPVWEsHsnUSk+LfuXrQec90ZkfhEdo0oZ1 YssVAs9EX/n+5FsCxPt3UbhaEoCWx5ZrMMLroY2zjNPq5WhvkUkozUFRz4siBvCwhrHD zemp2iui9iKD+khcG1TE96gp+gtgZ3SxKLuwbwr3D6vdR0NpmafjFg1c4ER6TYGnd4qF aslKNtFzVl54Fh4RM0PMOF5egLtM6u9gHF87UtKlwyiWdX5AG3TZpZo/SAX9vt/7WqGx 61IOcjZ4ZfJD/WtDruy7KGW8KGLu8ovrRJ0lt+24HACfcdIx7IvXi6nv8IHfIUxO9dY3 ge6Q== X-Gm-Message-State: AMke39l66n8Zen04sTS25F74ej2fwAgjFNeQxAmzaZZ8/Si2n7K0JQJVQ/fMo+YDdw9vgjHy X-Received: by 10.223.141.148 with SMTP id o20mr3216131wrb.75.1488553899604; Fri, 03 Mar 2017 07:11:39 -0800 (PST) Received: from localhost.localdomain ([105.147.1.203]) by smtp.gmail.com with ESMTPSA id w207sm3428523wmw.1.2017.03.03.07.11.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Mar 2017 07:11:38 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, liming.gao@intel.com, michael.d.kinney@intel.com Cc: star.zeng@intel.com, jiewen.yao@intel.com, Ard Biesheuvel Date: Fri, 3 Mar 2017 15:11:30 +0000 Message-Id: <1488553894-3520-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v4 0/4] MdePkg, MdeModulePkg: Enforce page allocation granularity X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2017 15:11:41 -0000 This is now a 4-piece series, so that the allocation granularity used by PEI core, which is defined per-architecture in the UEFI spec, is not defined locally but centrally for all modules in all phases. Ard Biesheuvel (4): MdePkg/ProcessorBind: add defines for page allocation granularity MdeModulePkg/DxeCore: switch to MdePkg allocation granularity macros MdeModulePkg/PiSmmCore: switch to MdePkg allocation granularity macros MdeModulePkg/PeiCore: honour minimal runtime allocation granularity MdeModulePkg/Core/Dxe/DxeMain.h | 25 ------------- MdeModulePkg/Core/Dxe/Mem/Page.c | 22 +++++------ MdeModulePkg/Core/Dxe/Mem/Pool.c | 8 ++-- MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c | 2 +- MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 4 +- MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 8 ++-- MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 39 +++++++++++++++++++- MdeModulePkg/Core/PiSmmCore/MemoryAttributesTable.c | 6 +-- MdeModulePkg/Core/PiSmmCore/Page.c | 4 +- MdeModulePkg/Core/PiSmmCore/PiSmmCore.h | 6 --- MdePkg/Include/AArch64/ProcessorBind.h | 6 +++ MdePkg/Include/Arm/ProcessorBind.h | 6 +++ MdePkg/Include/Ebc/ProcessorBind.h | 6 +++ MdePkg/Include/Ia32/ProcessorBind.h | 6 +++ MdePkg/Include/Ipf/ProcessorBind.h | 6 +++ MdePkg/Include/X64/ProcessorBind.h | 6 +++ 16 files changed, 100 insertions(+), 60 deletions(-) -- 2.7.4