linux/arch/x86/platform/efi
Matt Fleming 884f4f66ff efi: Remove global 'memmap' EFI memory map
Abolish the poorly named EFI memory map, 'memmap'. It is shadowed by a
bunch of local definitions in various files and having two ways to
access the EFI memory map ('efi.memmap' vs. 'memmap') is rather
confusing.

Furthermore, IA64 doesn't even provide this global object, which has
caused issues when trying to write generic EFI memmap code.

Replace all occurrences with efi.memmap, and convert the remaining
iterator code to use for_each_efi_mem_desc().

Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Luck, Tony <tony.luck@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/1461614832-17633-8-git-send-email-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-04-28 11:33:51 +02:00
..
early_printk.c x86/efi: earlyprintk=efi,keep fix 2014-05-03 06:39:06 +01:00
efi_32.c x86/efi: Map EFI_MEMORY_{XP,RO} memory region bits to EFI page tables 2016-02-22 08:26:28 +01:00
efi_64.c efi: Iterate over efi.memmap in for_each_efi_memory_desc() 2016-04-28 11:33:50 +02:00
efi_stub_32.S x86/efi: Mark initialization code as such 2014-10-03 18:41:03 +01:00
efi_stub_64.S Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 18:58:18 -07:00
efi_thunk_64.S x86/efi: Avoid triple faults during EFI mixed mode calls 2015-02-13 15:42:56 +00:00
efi-bgrt.c x86/efi/bgrt: Don't ignore the BGRT if the 'valid' bit is 0 2016-02-03 11:41:19 +01:00
efi.c efi: Remove global 'memmap' EFI memory map 2016-04-28 11:33:51 +02:00
Makefile objtool: Mark non-standard object files and directories 2016-02-29 08:35:02 +01:00
quirks.c efi: Iterate over efi.memmap in for_each_efi_memory_desc() 2016-04-28 11:33:50 +02:00