Re: [PATCH 4/4] loader: drop local implementations of find_efi_mmap_size

2017-09-12 Thread Daniel Kiper
On Tue, Sep 05, 2017 at 09:41:14PM +0100, Leif Lindholm wrote: > Now we have a grub_efi_find_mmap_size, replace near-identical implementations > in i386/linux and mbi2 loaders with calls to that one. Please do it in separate patches. And I think that grub-core/commands/efi/lsefimmap.c:grub_cmd_lse

[PATCH 4/4] loader: drop local implementations of find_efi_mmap_size

2017-09-05 Thread Leif Lindholm
Now we have a grub_efi_find_mmap_size, replace near-identical implementations in i386/linux and mbi2 loaders with calls to that one. Signed-off-by: Leif Lindholm --- grub-core/loader/i386/linux.c | 51 +-- grub-core/loader/multiboot_mbi2.c | 38 +--