mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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:
parent
3c7f255039
commit
cdd7857898
2 changed files with 13 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue