Skip to content
Commit 37ba7ab5 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

x86, boot: make kernel_alignment adjustable; new bzImage fields



Make the kernel_alignment field adjustable; this allows us to set it
to a large value (intended to be 16 MB to avoid ZONE_DMA contention,
memory holes and other weirdness) while a smart bootloader can still
force a loading at a lesser alignment if absolutely necessary.

Also export pref_address (preferred loading address, corresponding to
the link-time address) and init_size, the total amount of linear
memory the kernel will require during initialization.

[ Impact: allows better kernel placement, gives bootloader more info ]

Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 99aa4559
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment