commit | 108bdff84a0b9104f05cb04a41bdd14f67f0d4c6 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Nov 12 18:55:24 2018 +0100 |
committer | Alexander Graf <agraf@suse.de> | Sun Dec 02 21:59:37 2018 +0100 |
tree | 9b5bb587f486846ce7aa6abea111b14e355ab984 | |
parent | 23fd84b3eccb1af51699d49368e257a5b0a78593 [diff] |
efi_loader: correct efi_add_known_memory() If a memory bank is not EFI_PAGE_SIZE aligned efi_add_known_memory() the number of memory pages may be incorrectly calculated. We have to round up the start address and to round down the end address to determine which complete pages are provided by the memory bank. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>