diff options
author | Friedemann Gerold <cinap_lenrek@felloff.net> | 2018-08-02 16:04:01 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2019-01-28 11:44:18 +0100 |
commit | 8776bf88e50d0255ee612009a43e44ad5189d0f8 (patch) | |
tree | 6da99248d29986e1dcea2b4c2ba18a95990943cf /include | |
parent | b23d0f8cf0499b3c3f69b4a68b3d52572c55d08a (diff) |
multiboot-x86: support for non-elf kernels
Add support for non-elf multiboot kernels (such as Plan 9)
by handling the MULTIBOOT_AOUT_KLUDGE bit.
When the bit is clear then we are dealing with an ELF file
and probe for ELF as before with elf_x86_probe().
When the bit is set then load_addr, load_end_addr, header_addr
and entry_addr from the multiboot header are used load the
memory image.
Signed-off-by: Friedemann Gerold <cinap_lenrek@felloff.net>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions