diff options
author | Michael Brown | 2016-10-29 01:08:48 +0200 |
---|---|---|
committer | Michael Brown | 2016-10-29 01:32:33 +0200 |
commit | aa11f5deda29f91f5b8592965ed00f4a65002eff (patch) | |
tree | c2023ebd586dc7656df1448e7eb3102d8c2f24d7 /src/config | |
parent | [efi] Add EFI_BLOCK_IO2_PROTOCOL header and GUID definition (diff) | |
download | ipxe-aa11f5deda29f91f5b8592965ed00f4a65002eff.tar.gz ipxe-aa11f5deda29f91f5b8592965ed00f4a65002eff.tar.xz ipxe-aa11f5deda29f91f5b8592965ed00f4a65002eff.zip |
[bzimage] Fix page alignment of initrd images
The initrd_addr_max field represents the highest byte address that may
be used to hold initrd images, and is therefore almost certainly not
aligned to a page boundary: a typical value might be 0x7fffffff.
Fix the address calculations to ensure that the initrd images are
always aligned to a page boundary.
Reported-by: Sitsofe Wheeler <sitsofe@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
0 files changed, 0 insertions, 0 deletions