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)
Thu, Apr 11, 5:17 AM
Unknown Object (File)
Wed, Apr 10, 10:51 PM
Unknown Object (File)
Wed, Apr 10, 10:51 PM
Unknown Object (File)
Wed, Apr 10, 10:51 PM
Unknown Object (File)
Wed, Apr 10, 10:51 PM
Unknown Object (File)
Wed, Apr 10, 9:54 PM
Unknown Object (File)
Feb 24 2024, 11:11 AM
Unknown Object (File)
Jan 12 2024, 8:34 AM

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