From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Mon, 10 Oct 2016 13:34:00 +0200 Subject: [U-Boot] [PATCH v4 3/7] efi_loader: Move efi_allocate_pool implementation to efi_memory.c In-Reply-To: References: <20161001213229.19522-4-stefan.bruens@rwth-aachen.de> Message-ID: <57FB7CA8.6030706@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/09/2016 10:17 PM, Stefan Br?ns wrote: > We currently handle efi_allocate_pool() in our boot time service > file. In the following patch, pool allocation will receive additional > internal semantics that we should preserve inside efi_memory.c instead. > > As foundation for those changes, split the function into an externally > facing efi_allocate_pool_ext() for use by payloads and an internal helper > efi_allocate_pool() in efi_memory.c that handles the actual allocation. > > While at it, change the magic 0xfff / 12 constants to the more obvious > EFI_PAGE_MASK/SHIFT defines. > > Signed-off-by: Stefan Br?ns Reviewed-by: Alexander Graf Alex