diff options
| author | Heinrich Schuchardt <[email protected]> | 2018-11-12 18:55:24 +0100 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2018-12-02 21:59:37 +0100 |
| commit | 108bdff84a0b9104f05cb04a41bdd14f67f0d4c6 (patch) | |
| tree | 9b5bb587f486846ce7aa6abea111b14e355ab984 /include | |
| 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 <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
