]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 21 Aug 2013 17:31:48 +0000 (18:31 +0100)
commit54968873a5fdd82ca0364538e0e4d008307ac687
treef4d125163eef7b312ae2fcae8fa2b60e562d75c8
parentbb350397cd6f52fef86b68d970eb878fbab33567
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