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
F92455880: D38248.id116031.diff
Sat, Aug 31, 2:17 PM
Unknown Object (File)
Wed, Aug 21, 4:12 PM
Unknown Object (File)
Wed, Aug 21, 4:12 PM
Unknown Object (File)
Wed, Aug 21, 4:12 PM
Unknown Object (File)
Wed, Aug 21, 4:12 PM
Unknown Object (File)
Wed, Aug 21, 4:12 PM
Unknown Object (File)
Wed, Aug 21, 3:36 PM
Unknown Object (File)
Fri, Aug 16, 9:16 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49315
Build 46205: 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).