Page MenuHomeFreeBSD

Gross hack to get amd64 compiling... still a ways to go to make it specific to linuxboot env
ClosedPublic

Authored by imp on Dec 16 2021, 5:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 8:52 PM
Unknown Object (File)
Mon, Nov 25, 10:37 AM
Unknown Object (File)
Nov 20 2024, 3:49 PM
Unknown Object (File)
Nov 12 2024, 9:35 AM
Unknown Object (File)
Sep 18 2024, 6:22 PM
Unknown Object (File)
Sep 8 2024, 1:16 AM
Unknown Object (File)
Sep 7 2024, 9:23 AM
Unknown Object (File)
Aug 30 2024, 5:18 PM
Subscribers

Details

Reviewers
manu
imp
Summary

Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43424
Build 40312: arc lint + arc unit

Event Timeline

imp requested review of this revision.Dec 16 2021, 5:00 PM

So this compiles and gets to the OK prompt, but not much else. It's presented here as a preview.
Still need to get the trampoline right, since it's totally stubbed out.
And elf64_freebsd is almost completely wrong. We'll have to do a lot of that work in the trampoline, I fear, which likely means we'll have to force PIE for amd64 which I think is the default, but need to figure that out.
Plus I'll need to figure out what, if anything, I need to do to glue in the APs.
And who knows what else. It's a trial ballon science experiment right now.
And I'd like to have an eye to what we can share with powerpc
Plus we need to get the memory map and the code that's there is the old, compat way. There's a couple of different ways.
Plus it would be nice to have more host access, if for nothing else than to test (rebooting the ubuntu VM into FreeBSD seems not an insane goal).

This revision is now accepted and ready to land.Jul 6 2023, 6:26 PM

this has already landed.