doc: arm64: add description of EFI stub support

Add explanation of arm64 EFI stub and kernel image header changes
needed to masquerade as a PE/COFF application.

Signed-off-by: Mark Salter <[email protected]>
Signed-off-by: Leif Lindholm <[email protected]>
Acked-by: Grant Likely <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
This commit is contained in:
Mark Salter 2013-11-29 16:00:14 -05:00 • committed by Matt Fleming
commit cdd7857898
2 changed files with 13 additions and 3 deletions

View file

@ -85,6 +85,10 @@ The decompressed kernel image contains a 64-byte header as follows:
Header notes:
- code0/code1 are responsible for branching to stext.
- when booting through EFI, code0/code1 are initially skipped.
res5 is an offset to the PE header and the PE header has the EFI
entry point (efi_stub_entry). When the stub has done its work, it
jumps to code0 to resume the normal boot process.
The image must be placed at the specified offset (currently 0x80000)
from the start of the system RAM and called there. The start of the