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
F170790780: D38248.id116031.diff
Sun, Sep 6, 3:51 PM
F170784108: D38248.id116031.diff
Sun, Sep 6, 2:55 PM
F170750047: D38248.id.diff
Sun, Sep 6, 9:59 AM
Unknown Object (File)
Sat, Sep 5, 11:59 PM
Unknown Object (File)
Sat, Sep 5, 11:48 AM
Unknown Object (File)
Sat, Sep 5, 11:19 AM
Unknown Object (File)
Sat, Sep 5, 11:15 AM
Unknown Object (File)
Sat, Sep 5, 9:57 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49290
Build 46180: arc lint + arc unit

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).