Page MenuHomeFreeBSD

kboot: Add powerpc stub for enumerate_memory_arch()
ClosedPublic

Authored by imp on Jan 29 2023, 3:14 PM.
Tags
None
Referenced Files
F170576230: D38248.id116249.diff
Sat, Sep 5, 11:48 AM
F170571220: D38248.id.diff
Sat, Sep 5, 11:19 AM
F170570591: D38248.diff
Sat, Sep 5, 11:15 AM
F170557970: D38248.diff
Sat, Sep 5, 9:57 AM
Unknown Object (File)
Thu, Sep 3, 5:41 PM
Unknown Object (File)
Thu, Sep 3, 11:19 AM
Unknown Object (File)
Thu, Sep 3, 10:52 AM
Unknown Object (File)
Wed, Sep 2, 3:20 PM
Subscribers

Details

Summary

Add stub for new MI interface for enumerating memory. Right now powerpc
looks in the FDT table at a later point in boot since we don't need to
pass a specific memory table to the kernel. Leave it like that for now,
but note plans for the future.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Move setting of usefdt into enumerate_memory_arch()

rebase / refactor / redo

This revision is now accepted and ready to land.Feb 2 2023, 3:09 AM
stand/kboot/arch/powerpc64/load_addr.c
221

Values in return statements should be enclosed in parentheses. (style).