Skip to content
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

EFI Prekernel (5/N): EFIPrekernel: Add basic skeleton #24995

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

spholz
Copy link
Collaborator

@spholz spholz commented Sep 6, 2024

This skeleton is already bootable on all our supported architectures.

This PR depends on #24984 and #24985, therefore draft.

Only DynamicObject supported RELA previously.
This function assumes that all sections have a relocation section
associated with them. This is not the case in most executables.
It also assumes that the section is called ".rel<section name>". This is
also not something we should rely on. And RELA sections usually start
with ".rela", not ".rel".
This will be required for the PrekernelPEImageGenerator lagom tool.
This tool will be used to convert the Prekernel into an EFI PE32+ image.
These definitions are adapted from the UEFI spec to match our code
style.
These definitions are adapted from the UEFI spec to match our code
style.
These definitions are adapted from the UEFI spec to match our code
style.
These definitions are adapted from the UEFI spec to match our code
style.
These definitions are adapted from the UEFI spec to match our code
style.
These definitions are adapted from the UEFI spec to match our code
style.
These definitions are adapted from the UEFI spec to match our code
style.
These definitions are adapted from the UEFI spec to match our code
style.
This simply makes dbgln use the EFI Simple Text Output Protocol.
This file will be linked to the EFIPrekernel.
@spholz spholz changed the title EFI Prekernel (5/N): EFIPrekenel: Add basic skeleton EFI Prekernel (5/N): EFIPrekernel: Add basic skeleton Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant