efi/libstub: Move memory map handling and allocation routines to mem.c
authorArd Biesheuvel <ardb@kernel.org>
Mon, 10 Feb 2020 16:02:34 +0000 (17:02 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:57:15 +0000 (21:57 +0100)
commitf57db62c67c1c9d3bf94563d3228ceff456f5be7
treedcd70e4725086bb1bd85778ad3df6a54d1d778b3
parent184d7e0d7d6ea140fdc3c644b4c466505cfb1654
efi/libstub: Move memory map handling and allocation routines to mem.c

Create a new source file mem.c to keep the routines involved in memory
allocation and deallocation and manipulation of the EFI memory map.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/efi-stub-helper.c
drivers/firmware/efi/libstub/mem.c [new file with mode: 0644]