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

Move psm-based EFI loader to be dboot-style, embedded into the unix image #2

Open
r1mikey opened this issue Nov 2, 2024 · 0 comments
Assignees

Comments

@r1mikey
Copy link
Owner

r1mikey commented Nov 2, 2024

Having a separate shim loader has been useful so far, but it makes the UEFI/ACPI port look unnecessarily different from i86pc.

Move this code into unix, called eboot (like my first attempt at this stuff). Along the way, simplify the implementation as much as possible, especially given the full ELF loading of the subsequent kernel won't be needed.

This will also make the ELF loading path in loader64.efi simpler. It'll be very close to the FreeBSD code, with the caveat being that we simply need to load on a 2MiB boundary (technically any page boundary will be fine, but 2MiB will help us use large pages for the kernel later).

@r1mikey r1mikey self-assigned this Nov 2, 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

No branches or pull requests

1 participant