Page MenuHomeFreeBSD

kboot: Move load address stuff to MD code
ClosedPublic

Authored by imp on Sep 16 2022, 4:38 PM.
Tags
None
Referenced Files
F97427637: D36603.diff
Sun, Sep 29, 6:25 AM
F97237231: D36603.diff
Sat, Sep 28, 7:08 AM
Unknown Object (File)
Tue, Sep 24, 5:25 PM
Unknown Object (File)
Tue, Sep 24, 5:25 PM
Unknown Object (File)
Tue, Sep 24, 5:25 PM
Unknown Object (File)
Thu, Sep 19, 10:14 PM
Unknown Object (File)
Tue, Sep 17, 6:35 AM
Unknown Object (File)
Wed, Sep 11, 12:54 AM
Subscribers

Details

Summary

The load address computations are highly architecture specific. There
are generic ways that are augmented by specific constraints of specific
way things work on each architecture. Move the current load segment
computations into a MD routine load_addr.

As part of the move, I'm marking kboot_get_kernel_machine_bits as
unused. This arrived in a prior commit, but never seems to have been
connected, suggesting an incomplete merge at the time, or a path not yet
taken.

Create a stub for amd64 that will be filled in with a later commit.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 47424
Build 44311: arc lint + arc unit