summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/tools
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-03-08 09:08:48 +0100
committerIngo Molnar <mingo@kernel.org>2020-03-08 09:58:20 +0100
commit26725192c46e1e543ed86a06823fa591cd6faf58 (patch)
treedfe983cce255b3266165d653f5f9c9189207f287 /arch/x86/boot/tools
parent1887c9b653f99577c0f8ec413b0921a32b6129e2 (diff)
downloadlinux-26725192c46e1e543ed86a06823fa591cd6faf58.tar.bz2
efi/x86: Add kernel preferred address to PE header
Store the kernel's link address as ImageBase in the PE header. Note that the PE specification requires the ImageBase to be 64k aligned. The preferred address should almost always satisfy that, except for 32-bit kernel if the configuration has been customized. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20200303221205.4048668-4-nivedita@alum.mit.edu Link: https://lore.kernel.org/r/20200308080859.21568-18-ardb@kernel.org
Diffstat (limited to 'arch/x86/boot/tools')
0 files changed, 0 insertions, 0 deletions