• H. Peter Anvin's avatar
    i386: handle an initrd in highmem (version 2) · cf8fa920
    H. Peter Anvin authored
    The boot protocol has until now required that the initrd be located in
    lowmem, which makes the lowmem/highmem boundary visible to the boot
    loader.  This was exported to the bootloader via a compile-time
    field.  Unfortunately, the vmalloc= command-line option breaks this
    part of the protocol; instead of adding yet another hack that affects
    the bootloader, have the kernel relocate the initrd down below the
    lowmem boundary inside the kernel itself.
    
    Note that this does not rely on HIGHMEM being enabled in the kernel.
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    cf8fa920
header.S 7.61 KB