Re: [PATCH 1/3] arm64: add EFI stub

Mark Salter
2013-12-06T13:52:20Z

On Fri, 2013-12-06 at 14:38 +0100, Leif Lindholm wrote:
> On Fri, Dec 06, 2013 at 08:34:30AM -0500, Mark Salter wrote:
> > > Or just disable runtime services on the switch to big ending. Big endian
> > > should not disable the stub (but getting it to work could be a follow-up
> > > patch)
> > >
> > The other problem with BE is that the PE/COFF masquerading is built into
> > head.S so the same Image can be used for EFI and non-EFI. I don't see
> > a BE opcode which we could us to provide the magic "MZ" at the start
> > of a BE kernel Image.
>
> That's actually not an issue.
> Instructions are always LE - endinaness affects only data.
>

Oh right, I knew that. Time for coffee.