efi_loader: Extract adding a conventional memory in separate routine
authorPark, Aiden <aiden.park@intel.com>
Tue, 3 Sep 2019 17:43:43 +0000 (17:43 +0000)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Sep 2019 21:18:51 +0000 (23:18 +0200)
commitb5b9eff26d28feb7dc59661b78e5844d12fca0c8
tree5eed45c69252c866682f6a223e712f6a90e5a96b
parent5b4746fd6be68bb0b773d9830275fbee7dbdab66
efi_loader: Extract adding a conventional memory in separate routine

Adding a conventional memory region to the memory map may require ram_top
limitation and it can be also commonly used. Extract adding a conventional
memory to the memory map in a separate routine for generic use.

Signed-off-by: Aiden Park <aiden.park@intel.com>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_memory.c