Page MenuHomeFreeBSD

stand: Initial kboot support on amd64
ClosedPublic

Authored by imp on Apr 30 2022, 1:23 AM.
Tags
None
Referenced Files
F82939683: D35100.diff
Sat, May 4, 6:29 AM
Unknown Object (File)
Fri, May 3, 7:50 AM
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

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45446
Build 42334: arc lint + arc unit

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