]> git.karo-electronics.de Git - linux-beck.git/commit
arm64: Expand arm64 image header
authorRoy Franz <roy.franz@linaro.org>
Wed, 14 Aug 2013 23:10:00 +0000 (00:10 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 22 Aug 2013 10:45:04 +0000 (11:45 +0100)
commit4370eec05a887b0cd4392cd5dc5b2713174745c0
treef4d125163eef7b312ae2fcae8fa2b60e562d75c8
parent360b35a874f130305715b1b854b67dc40826fc91
arm64: Expand arm64 image header

Expand the arm64 image header to allow for co-existance with
PE/COFF header required by the EFI stub.  The PE/COFF format
requires the "MZ" header to be at offset 0, and the offset
to the PE/COFF header to be at offset 0x3c.  The image
header is expanded to allow 2 instructions at the beginning
to accommodate a benign intruction at offset 0 that includes
the "MZ" header, a magic number, and the offset to the PE/COFF
header.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/arm64/booting.txt
arch/arm64/kernel/head.S