From: catalin.marinas@arm•com (Catalin Marinas)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] arm64: Expand arm64 image header
Date: Wed, 21 Aug 2013 18:30:39 +0100 [thread overview]
Message-ID: <20130821173038.GF6361@arm.com> (raw)
In-Reply-To: <1376521800-967-1-git-send-email-roy.franz@linaro.org>
On Thu, Aug 15, 2013 at 12:10:00AM +0100, Roy Franz wrote:
> 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>
The patch looks fine to me. I couldn't come up with a better magic
number in 4 bytes (something that would suggest Linux kernel). If you
have a better idea let me know before the merging window (LKA64 maybe?)
Thanks.
--
Catalin
prev parent reply other threads:[~2013-08-21 17:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 23:10 [PATCH] arm64: Expand arm64 image header Roy Franz
2013-08-15 3:58 ` Mark Salter
2013-08-15 15:49 ` Roy Franz
2013-08-15 17:40 ` Mark Salter
2013-08-20 17:25 ` Roy Franz
2013-08-21 17:30 ` Catalin Marinas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130821173038.GF6361@arm.com \
--to=catalin.marinas@arm$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox