-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headers redesign #3
Open
pietrushnic
wants to merge
11
commits into
landing_zone
Choose a base branch
from
headers_redesign
base: landing_zone
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTE: I need some feedback here on how to implement this within the style of iPXE. I've noticed that there's interfaces but those didn't seem to line up with moving prep_segment into there nor did any of the arch directories. The prep_segment function is called by the elf_load() function and its job is to ensure that the segment that is about to be loaded can be at the address it wants to be without trampling existing memory and then clears BSS. It uses the get_memmap() function which has been disabled on EFI so this provides an alternative that uses EFI's allocation functions to ensure that chunk of memory that the segment wants to be loaded at is available and clears BSS. Signed-off-by: Doug Goldstein <cardoe at cardoe.com>
This allows elf_load() to return back the load address where this ELF is being loaded which is necessary for multiboot2 support. Signed-off-by: Doug Goldstein <cardoe at cardoe.com>
Import the multiboot2 header from GRUB where the official spec for multiboot2 lives. Signed-off-by: Jonathan Creekmore <jonathan at thecreekmores.org>
Signed-off-by: Jonathan Creekmore <jonathan at thecreekmores.org>
Add the ability to load multiboot2 images on EFI only at this time. This has been tested with Xen 4.9 using their multiboot2 support. Signed-off-by: Jonathan Creekmore <jonathan at thecreekmores.org>
This adds support for probing for multiboot2 images when booting from EFI. Signed-off-by: Jonathan Creekmore <jonathan at thecreekmores.org>
Memory information is missing. ELF format is assumed. Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
This assumes that only the first section of ELF file is to be measured. LZ should clear the reserved file after reading kernel size. Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
…call mb2_bib structure is not yet filled, so it was used to pass that information Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.