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)
Feb 14 2024, 9:32 AM
Unknown Object (File)
Jan 12 2024, 8:33 AM
Unknown Object (File)
Jan 11 2024, 1:41 AM
Unknown Object (File)
Dec 26 2023, 7:47 AM
Unknown Object (File)
Dec 20 2023, 7:35 AM
Unknown Object (File)
Nov 3 2023, 3:43 PM
Unknown Object (File)
Sep 19 2023, 11:49 AM
Unknown Object (File)
Jul 20 2023, 6:44 AM
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.