Page MenuHomeFreeBSD

kboot: Improve amd64 booting

Authored by imp on Jan 29 2023, 3:16 PM.
Referenced Files
Unknown Object (File)
Fri, May 24, 4:04 AM
Unknown Object (File)
Sat, May 11, 11:50 PM
Unknown Object (File)
Thu, May 9, 1:12 AM
Unknown Object (File)
Tue, Apr 30, 4:37 AM
Unknown Object (File)
Sat, Apr 27, 3:18 PM
Unknown Object (File)
Apr 24 2024, 12:03 AM
Unknown Object (File)
Apr 23 2024, 9:55 PM
Unknown Object (File)
Apr 6 2024, 11:05 PM



Copy more of the necessary state for FreeBSD to boot:
o Copy EFI memory tables
o Create custom page tables needed for the kernel to find itself
o Simplify the passing of args to the trampoline by putting them

on the stack rather than in dedicated memory.

This is only partially successful... we get only part way through the
amd64 startup code before dying. However, it's much further than before
the changes.

Sponsored by: Netflix

Diff Detail

rG FreeBSD src repository
Lint Skipped
Tests Skipped
Build Status
Buildable 49301
Build 46191: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jan 29 2023, 3:16 PM

rebase / refactor / redo

kevans added inline comments.
This revision is now accepted and ready to land.Feb 2 2023, 3:46 AM
This revision now requires review to proceed.Feb 2 2023, 4:06 AM
This revision is now accepted and ready to land.Feb 2 2023, 10:49 PM
This revision was automatically updated to reflect the committed changes.