Page MenuHomeFreeBSD

stand: Initial kboot support on amd64
ClosedPublic

Authored by imp on Apr 30 2022, 1:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 12:37 AM
Unknown Object (File)
Tue, Nov 26, 11:35 AM
Unknown Object (File)
Oct 6 2024, 9:49 PM
Unknown Object (File)
Oct 4 2024, 5:35 AM
Unknown Object (File)
Oct 2 2024, 7:24 PM
Unknown Object (File)
Oct 1 2024, 3:02 AM
Unknown Object (File)
Sep 25 2024, 4:25 PM
Unknown Object (File)
Sep 24 2024, 5:51 PM

Details

Summary

Get amd64 compiling. However, the current kboot supports the only way of
enumerating memory and the new way needs to be incorporated as well. The
powerpc folks can use it.

This commit includes the linker script, trampoline code to start the new
kernel, Linux system calls and the necessary configuration glue needed
to build the binaries.

This includes a quick hack to get multiboot support, but we need to
really share these defines. The multiiboot2.h is the minimum needed to
build.

This should be considered, at best, preliminary.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Apr 30 2022, 1:23 AM
stand/kboot/arch/amd64/conf.c
49

libsa ?

Address the libstand comment.

This revision is now accepted and ready to land.May 1 2022, 5:12 PM
This revision was automatically updated to reflect the committed changes.
share/mk/src.opts.mk
305

this requires src.conf to be regenerated