Re: [PATCH 11/19] efi: mm: Extract function to add memory regions

2022-03-24 Thread Daniel Axtens
>>/* Prepare a memory region to store two memory maps. */ >>memory_map = grub_efi_allocate_any_pages (2 * BYTES_TO_PAGES >> (MEMORY_MAP_SIZE)); >>if (! memory_map) >> -grub_fatal ("cannot allocate memory"); >> +return grub_error (GRUB_ERR_OUT_OF_MEMORY, "cannot allocate

Re: [PATCH 11/19] efi: mm: Extract function to add memory regions

2021-11-09 Thread Daniel Kiper
On Tue, Oct 12, 2021 at 06:30:00PM +1100, Daniel Axtens wrote: > From: Patrick Steinhardt > > In preparation of support for runtime-allocating additional memory > region, this patch extracts the function to retrieve the EFI memory map > and add a subset of it to GRUB's own memory regions. > >

Re: [PATCH 11/19] efi: mm: Extract function to add memory regions

2021-10-19 Thread Glenn Washburn
On Tue, 12 Oct 2021 18:30:00 +1100 Daniel Axtens wrote: > From: Patrick Steinhardt > > In preparation of support for runtime-allocating additional memory > region, this patch extracts the function to retrieve the EFI memory map > and add a subset of it to GRUB's own memory regions. > >

Re: [PATCH 11/19] efi: mm: Extract function to add memory regions

2021-10-19 Thread Glenn Washburn
On Tue, 12 Oct 2021 18:30:00 +1100 Daniel Axtens wrote: > From: Patrick Steinhardt > > In preparation of support for runtime-allocating additional memory > region, this patch extracts the function to retrieve the EFI memory map > and add a subset of it to GRUB's own memory regions. > >

[PATCH 11/19] efi: mm: Extract function to add memory regions

2021-10-12 Thread Daniel Axtens
From: Patrick Steinhardt In preparation of support for runtime-allocating additional memory region, this patch extracts the function to retrieve the EFI memory map and add a subset of it to GRUB's own memory regions. Signed-off-by: Patrick Steinhardt --- grub-core/kern/efi/mm.c | 23