• H
    x86, boot: make kernel_alignment adjustable; new bzImage fields · 37ba7ab5
    H. Peter Anvin 提交于
    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: NH. Peter Anvin <hpa@zytor.com>
    37ba7ab5
head_32.S 3.8 KB