x86, boot: Define the 2.12 bzImage boot protocol
authorH. Peter Anvin <hpa@linux.intel.com>
Sun, 27 Jan 2013 18:43:28 +0000 (10:43 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sun, 27 Jan 2013 23:56:37 +0000 (15:56 -0800)
commit09c205afde70c15f20ca76ba0a57409dad175fd0
tree77924ea22cf915e80ffbc5af58851c49e4820f5a
parent65315d4889d403ea025081d8ca85ddf7b9c10f39
x86, boot: Define the 2.12 bzImage boot protocol

Define the 2.12 bzImage boot protocol: add xloadflags and additional
fields to allow the command line, initramfs and struct boot_params to
live above the 4 GiB mark.

The xloadflags now communicates if this is a 64-bit kernel with the
legacy 64-bit entry point and which of the EFI handover entry points
are supported.

Avoid adding new read flags to loadflags because of claimed
bootloaders testing the whole byte for == 1 to determine bzImageness
at least until the issue can be researched further.

This is based on patches by Yinghai Lu and David Woodhouse.

Originally-by: Yinghai Lu <yinghai@kernel.org>
Originally-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1359058816-7615-26-git-send-email-yinghai@kernel.org
Cc: Rob Landley <rob@landley.net>
Cc: Gokul Caushik <caushik1@gmail.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Joe Millenbach <jmillenbach@gmail.com>
Documentation/x86/boot.txt
Documentation/x86/zero-page.txt
arch/x86/boot/header.S
arch/x86/boot/setup.ld
arch/x86/include/uapi/asm/bootparam.h