From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 187242095B9D7 for ; Fri, 18 Aug 2017 08:58:36 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Aug 2017 09:00:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,393,1498546800"; d="scan'208";a="1005243082" Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.9.22]) by orsmga003.jf.intel.com with ESMTP; 18 Aug 2017 09:00:43 -0700 From: Star Zeng To: edk2-devel@lists.01.org Cc: Star Zeng , Liming Gao , Ruiyu Ni Date: Sat, 19 Aug 2017 00:00:33 +0800 Message-Id: <1503072038-134760-1-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 Subject: [PATCH 0/5] PeiCore: Support pre memory page allocation 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, 18 Aug 2017 15:58:36 -0000 Follow PI 1.6 spec to support pre memory page allocation and support FreePages. Cc: Liming Gao Cc: Ruiyu Ni Star Zeng (5): MdePkg PiPeiCis.h: Add FreePages definition MdePkg PeiServicesLib: Add PeiServicesFreePages MdePkg PeiMemoryAllocationLib: Update Free(Aligned)Pages MdePkg PeiMemoryAllocationLib: Update InternalAllocateAlignedPages MdeModule PeiCore: Support pre memory page allocation MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 27 +- MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 559 ++++++++++++++++++++- MdeModulePkg/Core/Pei/PeiMain.h | 89 +++- MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 8 +- MdeModulePkg/Core/Pei/Ppi/Ppi.c | 16 +- MdePkg/Include/Library/PeiServicesLib.h | 31 +- MdePkg/Include/Pi/PiPeiCis.h | 27 + .../PeiMemoryAllocationLib/MemoryAllocationLib.c | 188 ++----- MdePkg/Library/PeiServicesLib/PeiServicesLib.c | 35 +- 9 files changed, 777 insertions(+), 203 deletions(-) -- 2.7.0.windows.1